Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
Originally posted by William Rouse:
I am unable to find the placement of the css file so that the servlet knows where it is or I have the wrong code to connect to the css file.
For now the css file is placed in the same directory as the servlet
42
Originally posted by William Rouse:
pathVar = getServletContext().getRealPath("/")+"css/EmpSearchServlet.css";
out.println("<link rel='stylesheet' type='text/css' href= '" + pathVar + "' />");
WBR
Don't get me started about those stupid light bulbs. |