Re: Multiple error pages from validate method

2003-10-24 Thread Max Cooper
The input page is specified in the action mapping. Use separate action mappings for each input page (add.jsp and edit.jsp). You can use the same Action class for both. -Max - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 24, 2003 12:15 PM Sub

Re: Multiple error pages from validate method

2003-10-24 Thread Geeta Ramani
Ramani [mailto:[EMAIL PROTECTED] > Sent: Friday, October 24, 2003 3:36 PM > To: Struts Users Mailing List > Subject: Re: Multiple error pages from validate method > > Here's one "hacky" way of doing this: Set a request attribute, something > like "goToErrorPage2

RE: Multiple error pages from validate method

2003-10-24 Thread VKeswani
} } Do the same for edit. Of course there are a lot of other ways to do this as well. -Tim -Original Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 3:36 PM To: Struts Users Mailing List Subject: Re: Multiple error pages from validate method Here&#

RE: Multiple error pages from validate method

2003-10-24 Thread Chen, Gin
lot of other ways to do this as well. -Tim -Original Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 3:36 PM To: Struts Users Mailing List Subject: Re: Multiple error pages from validate method Here's one "hacky" way of doing this: Set

Re: Multiple error pages from validate method

2003-10-24 Thread VKeswani
bject: Re: Multiple error pages from validate method 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

Re: Multiple error pages from validate method

2003-10-24 Thread Geeta Ramani
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] w