How do you re-display an HTML form without using *out.println* statements?
Scenario:
I have a 300 field HTML form that posts data to an AS/400 file, then sends
back a simple acknowledgement web page using *out.println* statements.
Now I have been asked to validate up to 10 fields all against a single
secondary AS/400 file, and if there are errors to re-display the original
web form with the 300 field data enter by the user, plus alert the user of
the fields with errors.
My question is what would be the proper approach to re-displaying the user
entered data with the errors without using an enormous amount of
*out.println* statements?
Also, the HTML web page has a META tag that prevents the web page from
caching and allowing the viewing of prior users data.
This code I would like to continue using.
One final note, the 300 field form could be broken up into 6 seperate web
pages.
However, this would still require allot of *out.println* statements!
There has to be a better way!
Thanks for your help!
Stephen.
___________________________________________________________________________
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