I ended up using session variables to do this. Worked out great.
> -----Original Message-----
> From: Boemio, Neil (CAP, FGI)
> Sent: Friday, December 10, 1999 4:53 PM
> To: '[EMAIL PROTECTED]'
> Subject: Populating Form From DB
>
> I have customer contact info in my database and I have a servlet that
> outputs an HTML form with all the user's info in the fields. Fine. The
> user submits the form and another servlet checks for errors. Fine. When
> there are errors, I present a page indicating what the errors are and a
> link to go back and fix. But when they go back, it goes back to the
> servlet which populates the form from the database so the user can't see
> the mistakes they just made since they are overwritten by the good data
> from the database.
>
> How does one get around this problem?
>
> Thanks,
> Neil
>
>
___________________________________________________________________________
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