It depends on how many data in the database table or what browser you are
using.
If the data is not huge, you may download the data into client side data
structure and do the validation from the client side.
If your targeted users are using IE 4 and/or greater, you may use remote
script to do the validation.
Thanks,
Bin
-----Original Message-----
From: Jeetandra Mahtani [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 10, 1999 5:16 PM
To: [EMAIL PROTECTED]
Subject: Submitting and Validating in the same page...?
Hello:
I have a servlet that displays six required input fields to a user. When the
user clicks
the submit button, the values entered by the user are validated against a
table. If they
are not valid, a page is displayed that points out the invalid values. In
order for the
user to correct his value, the user has to click the browsers back button.
Is it possible
to have a message box popup in the same page ( page where user enters the
values ) that
will display the invalid values and if the values are valid move on to the
next page. In
this way the user does not have to use the back button when invalid values
are entered.
Any suggestions/ideas would be appreciated.
Thanks,
J
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html