I am developing a security mechanism that will provide this automatically. It requires 2.3 compliant container. But allows for many things that normal security does not. Please read "RE:Struts security" written by Phase Web and Multimedia in the archives to learn more.
Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -----Original Message----- From: Maris Orbidans [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 2:40 AM To: Struts Users Mailing List Subject: RE: Problem with multiple JSPs and one logon.jsp (do) / forwarding 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

