Hi, I built a few XHTML pages for a personal website and added style with CSS. In a browser everything looks great. I converted the pages into JSP's and the style no longer registers. Here is the JSP markup:
home.jsp ---------------- <%@ include file="header1.jsp" %> <title>My Site: Home</title> <%@ include file="header2.jsp" %> <%@ include file="pageTop.jsp" %> <%@ include file="navigation.jsp" %> <div id="bodyContent"> </div> </body> </html> header1.jsp ------------------- <?xml version="1.0" encoding="ISO-8859-1" ?> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> header2.jsp ------------------ <link href="../../CSS/style1.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="JS/householdJS.js"> </script> </head> Environment ------------------- MacOS X Leopard Tomcat 6 java version "1.5.0_19" The CSS directory is under the app context, alongside WEB-INF. Am I specifying the path to the CSS correctly? Anyone can suggest what else I may be doing wrong?