On a JSP, the bean can have a SETFROMREQUEST directive will automatically do
a bunch of calls to setXXX methods for the parameters that come in via the
request.

However, if I have a form that does a POST to a servlet, is there a way for
that servlet to use that logic to automatically set a bean's values based on
the parameters inside the POST?  I'd like the servlet to set the bean's
properties based on the values posted since if there's an error, I'd like to
send them back to the same page, with an error message, but still have the
form contain the data they had when they did the post.  So, my JSP fills out
the form based on the contents of a "page bean."

Thanks
David

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to