Why are you using action inside global-forward. Use a forward element.
You can reference it from action like

mapping.findForward("toLogin");

rgds
Antony Paul


On Wed, 3 Nov 2004 10:27:49 +0530, sachin <[EMAIL PROTECTED]> wrote:
> hi all,
> 
> i have a global forward defined as
> 
> <global-forwards>
> <action path="/toLogin" forward="/master/login.jsp" redirect="true" />
> </global-forwards>
> 
> now in my Action class i want to forward this to global forward "toLogin"
> if the session is not valid ..
> 
> how can achieve this ?
> this is going to be common for all Action classes , so i can not mapp them in
> each action-mapping defination ..
> 
> please tell me some way by which i can redirect to this page
> 
> thanks in advance
> 
> Regards,
> Sachin Hegde
> 
> ---------------------------------------------------------------------
> 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