struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geeta Ramani" <>
Subject Re: How to look up a global forward to get its "path" attribute
Date Wed, 18 Feb 2004 18:10:12 GMT
I know the following works if you have access to a mapping object (as within perform/execute):

So maybe you can simply create a new instance of an actionMapping and so forth..?


"OFlaherty, Colm" wrote:

> I have the following entry in my struts-config.xml file:
> <global-forwards>
>         <forward name="login" path="/"/>
>         ...
> </global-forwards>
> In a Tag Library, I have a String "login", and I want to get the string "/"
(ie, I want to look up the global forward to see the path it refers to).
> What is the best way to do this??
> Thanks..
> **********************************************************************
> This message is sent in confidence for the addressee
> only.  The contents are not allowed to be disclosed to
> anyone other than the addressee.  Unauthorised
> recipients must preserve this confidentiality and should
> please advise the sender immediately of any error in
> transmission.
> **********************************************************************
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message