How to give full path name in JSP programming?

Posted by sujoy on Stack Overflow See other posts from Stack Overflow or by sujoy
Published on 2011-11-28T04:36:55Z Indexed on 2011/11/28 9:49 UTC
Read the original article Hit count: 231

Filed under:
|

Actually when I run a particular JSP page it run perfectly(with external style sheet) but when servlet return back the control through RequestDispatcher, the page is not displaying properly means it don't took the css file path. In my program the stylesheet is present inside css directory and the page is present inside another directory named JSP.

The code which include the css in the program is-

 <link rel="stylesheet" href="../css/stylesheet.css" type="text/css"/>

© Stack Overflow or respective owner

Related posts about java

Related posts about jsp