Good Day,

I was just wondering if anyone has a clue on how to retain request values (
request.setAttribute()) forwarded to a jsp form page and once a form has
been submitted or validated then returns with error messages the values from
request.setAttribute() is no longer accessible.

Here's an example...

A form has an OptionsCollections populated using the request.setAttribute()...
from an action class.  I applied the Validator (Server-side) to perform
input validations, everything works well aside from the problem specific to
the OptionCollections... since it requires the values sent to the jsp page
prior to submission and validation.

A temporary solution was to put the OptionsCollections inside the
bean:present tag to avoid disrupting the entire page's execution.  But this
is not acceptable in practice since the input field that requires
OptionsCollections is necessary.

Does anyone have an idea how to go about this aside from doing a
bean:present or putting the values in session?

Thanks,

Brian

Reply via email to