Could be to do with your browser trying to load your <link>'ed css resource from a location that is relative to the page's location in your web-app. That's why it works at the top level and not at any lower level.

As a test, trying including a <base> tag in your <html><head> section in the lower-level page.

Although it's probably not what you want to do in the long run, you could try pasting in something like this:

<base href="<%=request.getScheme() + "://" + request.getLocalName() + ":" + request.getLocalPort() + request.getContextPath() + "/test.htm" %>">

If it starts working, at least you know the problem :)

-Jess.


James Reynolds wrote:
Hello all,
I just noticed a problem with my navigation panel. I have a top level "home" link that takes the user to the index page. If I use the component to browse to a link in a lower directory, then click the home link, the page renders without any style information. It's as if the style sheet fails to load. If I click it again, everything reverts to normal and life is good again. Has anyone else encountered this? Thanks!

Reply via email to