Do you use contextRelative="true" to switch between modules?

----- Original Message ----- 
From: "Abhinav (Cognizant)" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 9:29 PM
Subject: Using modules and actionforward to an action




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 ... !!!!





----------------------------------------------------------------------------
----


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


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

Reply via email to