Hi,

I added the following to my web.xml file:

Java Code:
<jsp-config>
    <jsp-property-group>
      <url-pattern>*._hf.jsp</url-pattern>
      <url-pattern>/*</url-pattern>
      <include-prelude>
        /WEB-INF/jsp/header.jsp
      </include-prelude>
      <include-coda>
        /WEB-INF/jsp/footer.jsp
      </include-coda>
    </jsp-property-group>
  </jsp-config>
I want to start and end off every jsp page with the same HTML. I have an object called website that is initialized by a servlet and it sets some variables such as website.baseUrl which I use like so in the header.jsp page:
Java Code:
<link type="text/css" href="${website.baseUrl}/css/main.css" rel="stylesheet" />
When I hit a page the style sheet doesn't affect the page, like it is not parsed by the browser. When I view the source the proper HTML is printed out with the correct path. The same thing goes for my javascript files. However, if I include the header.jsp file in each jsp page individually like so:
Java Code:
<%@include file="/WEB-INF/jsp/header.jsp" %>
It works like I would expect.

I can't figure out why this is happening.

Thanks for any help.