For logging out I use this piece of code : 

        RequestUtils.selectModule("", req,
                    getServlet().getServletContext());
                return (new ActionForward("/AuthFail.jsp"));

I don't want to hardcode "/AuthFail.jsp"
instead of that i want to forward to an action "/logout" defined in the default 
servlet-config.xml
I tried this 
        return (new ActionForward("/logout")); 
and in the servlet-config.xml 
                        <action                         
                                path="/logout"
                                type="actions.LoginAction"
                                ---
                                ---
                        >
                        </action>       
but no success.

Suggestions ... !!!!


****** Message from InterScan E-Mail VirusWall NT ******

** No virus found in attached file noname.htm

No Virus detected in the attached file(s).
*****************     End of message     ***************


This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. If you are not 
the 
intended recipient, please contact the sender by reply e-mail and destroy all copies 
of 
the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying 
of this email or any action taken in reliance on this e-mail is strictly prohibited 
and 
may be unlawful.

          Visit us at http://www.cognizant.com

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

Reply via email to