Results 1 to 3 of 3
- 07-05-2012, 10:10 AM #1
Member
- Join Date
- Dec 2011
- Posts
- 4
- Rep Power
- 0
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.
- 07-05-2012, 11:07 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
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.
Please do not ask for code as refusal often offends.
** This space for rent **
- 07-05-2012, 11:40 AM #3
Member
- Join Date
- Dec 2011
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
how to retrieve data when i select the input from the form
By sharanya in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 03-08-2011, 11:39 AM -
Data wouldnt't read from my form called 'express' in form'ticketing'
By realmadrid_000 in forum AWT / SwingReplies: 8Last Post: 10-03-2010, 10:45 AM -
Create a form, input some data and save to file
By cselic in forum AWT / SwingReplies: 5Last Post: 05-07-2010, 01:28 PM -
want to generate a html form page with dynamic data and submit this form to a url
By vishalkrsrivastava in forum Java AppletsReplies: 10Last Post: 08-12-2009, 05:02 PM -
enctype=multipart/form-data with form data in struts
By vk_satheesh in forum New To JavaReplies: 0Last Post: 09-19-2008, 01:48 PM
Bookmarks