Have you tried and it didn't work ?
I'm using .css in JSPs without any problem (and JSPs are converted into
servlets, so ...)
Just use it as you'd  normally use them in plain HTML.
I mean, like this:


PrintWriter out=response.getWriter();
// print HTML tags (<html>, <head>, etc...)
out.println("<link rel=\"stylesheet\" href=\"main.css\">");

, where main.css is the .css file
Hope it helps.

Luca

----- Original Message -----
From: "Messias" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 5:43 PM
Subject: CSS file and Servlet


Hi all,
I'd like to know if it's possible to use .css file with servlets and if
it's, how can I do it ?
TIA,
Messias


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to