Here's one "hacky" way of doing this:  Set a request attribute, something
like "goToErrorPage2" right after you validate. On the top of the error page
if that attribute goToErrorPage2 is nonnull, then forward to the second error
page else simply render the "normal" error page..

[EMAIL PROTECTED] wrote:

> Hello,
>
> I am using one ActionForm bean for multiple pages..say for add.jsp and
> edit.jsp.But when I validate and I get an error I want the user to go to
> different error pages instead of one just specified in struts-config file
> as input parameter?
>
> Can somebody help??


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

Reply via email to