struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dane <>
Subject Re: Base Path for Page Resources Incorrect
Date Fri, 14 May 2010 15:13:44 GMT
On 10-05-14 10:52 AM, Dane wrote:
> I'm testing a Struts 2 application; resources included in the 
> page--images, stylesheets--do not point to their absolute location, 
> but instead adopt the path of the current page's URL and simply append 
> their location to the end of it. I discovered that if I use the <base> 
> tag in the <head> of the document and redefine the base to the 
> absolute base path of the application, the resources get called and 
> the page works fine, no matter how deep into the application's 
> directory structure I navigate.
> Where can I disable this behaviour? Explicitly declaring a new base is 
> not an option; I used it to simply test if the base was being rewritten.
> All insight will be appreciated.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message