struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ognjen Blagojevic <>
Subject Re: forcing relative urls from struts instead of the absolute urls!
Date Fri, 06 Jan 2006 10:06:39 GMT
Max Cooper wrote:
>>>It sounds like your main challenge is that you have requests to a web
>>>server that look like mapped to an app
>>>deployed on an app server that you might access directly as
>>> The app will make site-root relative URLs
>>>like /me/foo.html, and the browser will them make a request to the web
>>>server like which is not what you
>>That is correct. 

(I don't have the original message, so I answer to this one)

I have similar problem like you. Applications are deployed as and for 
production use, and developers deploy them to local Tomcats as 
http://localhost:8080/app1/ and http://localhost:8080/app2/.

I found the solution in <html:rewrite> tag, since it will convert 
the relative path in JSP to the absolute one. It also does the 
URL-rewriting, but I don't mind that.

Did anyone else try this solution?


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

View raw message