Check input data from a .jsp form
Hey,
I have created a pretty standard registration form in a jsp, but I'm not sure of the best way to check the data that has been entered. I'm want the program to check as the user inputs the values. So if the two password inputs do not match, for example, a string would be shown to alert the user without them having to submit the form.
I know this is possible with JavaScript, but what would be the best way to do this with Java?
Thanks in advance.
Re: Check input data from a .jsp form
If you want to do it before the form is submitted then it can't be done in Java, since your Java resides on the server.
Re: Check input data from a .jsp form
Ahh! Makes sense, JavaScript it is then. Thanks for the quick reply