struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allen Casteran <>
Subject Re: Action Mapping Forward to static html from
Date Tue, 09 May 2006 08:03:12 GMT
Yes. That creates the path <domain>/context/index.html

I need the link without the context, yet don't want to hard code the 
domain into the struts config.

Philihp Busby wrote:
> Have you tried the contextRelative attribute?
> <forward name="index" path="/index.html" contextRelative="false"/>
> On 5/9/06, Allen Casteran <> wrote:
>> Is there a way to configure an action mapping in struts-config.xml to
>> forward to a static URL that is not part of the application files?
>> Something like a forward to the web site home page <domain>/index.html.

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

View raw message