Results 1 to 2 of 2
Thread: Java servlet problem
- 12-02-2010, 01:25 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 1
- Rep Power
- 0
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.Java Code:<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 appreciatedJava Code:out.println("<link rel=\"stylesheet\" href=\"css.css\" type=\"text/css\">");
thanks in advance
james
- 12-02-2010, 02:08 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Similar Threads
-
Jasper iReport - export report to DOCX from Java servlet (problem)
By narancic in forum Java ServletReplies: 2Last Post: 03-09-2012, 11:46 PM -
servlet problem plz help
By superbg in forum Advanced JavaReplies: 1Last Post: 10-18-2010, 10:43 AM -
java servlet problem plz help
By superbg in forum Java ServletReplies: 1Last Post: 10-18-2010, 10:36 AM -
servlet problem
By vijayabaskar in forum Java ServletReplies: 0Last Post: 04-29-2009, 09:34 AM -
Servlet problem
By maheshkanda in forum New To JavaReplies: 5Last Post: 02-10-2009, 08:55 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks