Maybe you can add a hidden param "formName" in all your JSPs.

<html:hidden property="formName" value="Name1"/>

Then in your action class check which JSP page HTTP request came from and forward back 
to corresponding page.

Don't know better solution.

Maris


> -----Original Message-----
> From: "Pyk�l�inen, Eero" [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 11:12 AM
> To: '[EMAIL PROTECTED]'
> Subject: Problem with multiple JSPs and one logon.jsp (do) / 
> forwarding
> 
> 
> I have an application that consists of many JSPs that all 
> include login.jsp.
> Login.jsp's submit button submits the login form to login.do.
> 
> In LoginAction there is naturally code line "return mapping ..."
> 
> How can I implement my application so that no matter where I 
> am I don't get
> forwarded to page defined in forward mapping but instead stay 
> on that very
> same page from where I logged in?
> 
> Thank you for your help.
> 
> -- 
> Eero Pyk�l�inen, Software Developer, Yomi Solutions Oy
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


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

Reply via email to