Søren Poulsen wrote:
I have a form page that requires a http parameter to show correctly.
When the formbean validate(..) fails on page submit then struts has been
set up to send the user back to the same form page.
Unfortunately the http param that was set when the user was first linked
to the page
is not set when struts redirects the user back to the same page again.
How do I make struts
set the param to the same value when validate fails? Since execute() is
never called i
havent got the option to save the parameter in some temporary scope
attribute.
If you forward rather than redirect back to your input page (which I
think Struts does by default unless you tell it otherwise) your request
parameters should still be there. Are you including the request
parameter the form needs to display as part of the data that the form
submits?
Post your JSP and relevant portions of your config so we can see exactly
what you're doing. It's hard to diagnose problems like this without
knowing how things are set up.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]