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
Subject: Multiple error pages from validate method


> 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