struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allen Casteran <al...@nisinc.com>
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 <allen@nisinc.com> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message