In the worst case you can have your ActionForward refer to a jsp:
<logic:redirect href="http://www.someotherplace.com"/>

or an actual Action that issues the redirect in the response object.

----- Original Message ----- 
From: "Chen, Gin" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, September 29, 2003 2:00 PM
Subject: RE: Struts-config path


> According to the Struts DTD:
> path            The module-relative or context-relative path to the
> resources
>                      that is encapsulated by the logical name of this
> ActionForward.
>                      If the path is to be considered context-relative when
> used in
>                      a modular application, then the contextRelative
> attribute
>                      should be set to "true". This value should begin with
a
> slash
>                      ("/") character.
>
> So apparently not.
> The best solution for this might be to use Tiles.
> If that's not possible then consider putting this into the message
resources
> and building a solution off that.
> Obviously there are other approaches as well but we need to know what you
> are trying to do with it.
> -Tim
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 29, 2003 4:26 PM
> To: Struts Users Mailing List
> Subject: Struts-config path
>
>
> Hello,
>
> Is it possible to enter an absolute path in the struts-config.xml?
>
> IE
> <global-forwards>
>     <forward name="toModuleB"
>        path=http://www.my-random-website.com/moduleB/index.do />
>     ...
>     </global-forwards>
>
> Thanks
>
> Denis
>
> ---------------------------------------------------------------------
> 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