If you do the validation in the client side (using java script) you do not 
lose the information. Besides this is a better approach once you don't want 
your code to do the avalidation in the server side and then post that the 
user made a mistake.

Keep validation in the client side always

Siomara pantarotto



>From: Henry <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: how to keep form data
>Date: Wed, 24 Oct 2001 09:19:47 -0600 (Mountain Daylight Time)
>
>when a user submits a form, the content is checked and
>if anything is invalid, the user is prompted to
>correct and submit the form again.
>
>how can i keep the content the user typed in before?
>
>I am using RequestDispatcher.forward("originalform.html");
>
>is there a flag or something to set?
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply via email to