geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Genender <jgenen...@savoirtech.com>
Subject Re: Jetty not doing relatives correctly?
Date Wed, 10 Aug 2005 21:13:17 GMT


Jeff Genender wrote:
> I am getting Tomcat to begin using the console slowly with some 
> changes...and I noticed something.
> 
> The console-framework's index.jsp does a redirect to 
> ./portal/server/server_info.  This returns some html that contains 
> references to css and images that are relative.  i.e. href="main.css" or 
> src="images/xyz.gif".
> 
> Tomcat returns blank images and cannot find the css. According to the 
> html...the css and images should be in:
> 
> 
> ./portal/server/server_info/main.css
> ./portal/server/server_info/images/xyz.gif
> 
> Of course these do not live there.  They live in /images/xyz.gif and 
> /main.css.

Sorry..I mean $CONTEXT/images/xyz.gif and $CONTEXT/main.css

> 
> Tomcat appears to handle this correctly, where Jetty is assuming the 
> relative is coming from the root context.
> 
> Is this a bug within Jetty itself?
> 
> Jeff

Mime
View raw message