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.

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

Reply via email to