Thanks!

David Smith wrote:

Given that jsps are seen on the client as HTML files, yes -- all you want. I would go further and say it's encouraged as the primary means of decorating your pages.

Just do something like this in your jsp to make sure the css is always found:

<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/path/to/your.css" />

The example above is using the el expression language so be sure your webapp's web.xml file is declared with the servlet spec version 2.4 schema.

--David

David Kerber wrote:

Can I use .css files with .jsp's, particularly when they are being served up by Tomcat 5.5? Or do they only work with static html files?

TIA!
Dave




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to