tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Shevland" <shevla...@kpi.com.au>
Subject RE: Stylesheets in JSP?
Date Thu, 14 Sep 2000 23:27:03 GMT
It shouldn't behave any differently in the JSP file, here's an example of a partial bit of
my HEAD chunk:

<head>
   <title>Online Loan Application</title>
   <link rel="stylesheet" type="text/css" href="mystylesheet.css">
   <jsp:include page="inc_browser.js" flush="true" />
</head>

The include in there is just some JavaScript functions. Its the client browser's responsibility
to download the stylesheet and apply it (some browsers do not support CSS), so Tomcat shouldn't
interfere.

HTH,
Joe

-----Original Message-----
From: Chris DeLise [mailto:delise@delise.com]
Sent: Friday, September 15, 2000 10:18 AM
To: tomcat-user@jakarta.apache.org
Subject: Stylesheets in JSP?


When I use Tomcat to open an HTML file, styles defined in a stylesheet work fine,
but they don't seem to work when the same sheet is referenced from a JSP file.
Has anyone else gotten stylesheets to work in a JSP file with Tomcat 3.1?

Thanks,
Chris

___________________________________________________________
DeLise Consulting, Inc.                  delise@delise.com
550 Newtown Road, Littleton, MA 01460       978.952.2832
http://www.delise.com/~delise/
Custom Software for Windows, NT, Unix, Networks, Embedded Systems.


Mime
View raw message