Java servlet problem
Hi, I'm not too sure if this is the right place for this so sorry in advance if it is.
I'm having a little trouble using a CSS with my java servlet..
I have severel HTML files which have the link to my CSSfile (which is called css.css) as follows.
this works fine in the html files however, my servlet which just produces a table of information from a database when it is called, won't seem to use this CSS.
<link rel="stylesheet" href="css.css" type="text/css" />
obviously I have to use an out.println() to print out the correct HTML. This is what I have tried so far...
If anyone could point me in the right direction it would be very greatly appreciated
out.println("<link rel=\"stylesheet\" href=\"css.css\" type=\"text/css\">");
thanks in advance
Looks like the closing slash is missing... you have
Originally Posted by JDyson