struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Jouravlev <>
Subject Re: forcing relative urls from struts instead of the absolute urls!
Date Tue, 06 Dec 2005 20:31:35 GMT
On 12/6/05, Michael P. Soulier <> wrote:
> Hello,
> I didn't find this in the archives, so I'll ask.
> I have a tomcat app deployed via proxypass from apache (2 in fact, a
> double-proxy through 2 servers). It needs to use relative paths in its
> links to ensure that the composed path is correct. Unfortunately struts
> doesn't seem to want to use relative links.
> So,
> 1. Is there a way to make it use a relative link instead of an absolute one?
> 2. Is there a way to force a prefix on the link?

Links to what? To action or to JSP page?

> Basically, the tomcat app is deployed as application "me". Instead of
> links like
> /me
> I want
> /foo/bar/me
> Is this possible?
> Thanks,
> Mike

I don't think that references below answer your question, but they
contain valuable info anyway:

You can roll out your own tag instead of standard <html:base> if needed.


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

View raw message