Hi,

Suppose you are doing your validation in your ActionForm's validate() method
and you provided the "input" attribute of the action mapping to point to the
form you start with.

Is there a way to tell Struts to actually redirect to the "input" instead of
forward to it? Basically, what I am trying to achieve here is this. When the
user first comes to the form, it's a regular JSP looking URL, i.e., directly
accessible to the user through .../blah.jsp... If the form doesn't validate,
Struts forwards the user to the same exact page with some error messages on
it, but the URL now reads something like .../action.do... 

This is error prone since if the user bookmarks this form after their first
attempt to submit the form, they are actually bookmarking the action, not
the form and next time they try the bookmark they might get something
unexpected.

Is there a way to tell Struts to redirect back to the "input" form instead
of having Struts forward to it?

Thanks,
Yaakov.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to