I am having a JSP file with the below codes
<HTML>
<head>
<link rel=stylesheet type=text/css href=../CSS/home.css />
<link rel=stylesheet type=text/css href=../CSS/left.css />
<script type=text/javascript src=../js/friend_request.js></script>
</head>
<body>
<div class=menu>
<form name=search_form method=post>
<table id=menutabel class=color>
<tr>
<td class=alt><A class=oneHREF=home.jsp>Home</A></td>
<td class=alt ><A class=oneHREF=../HTML/falbum.html>My Album</A></td>
<td class=alt ><A class=oneHREF=../HTML/MyDiary.html>My Diary</A></td>
<td class=alt ><A class=oneHREF=../HTML/MyFriends.html>Myfriends</A></td>
</tr>
</table>
</form>
</body>
</html>
When i run this JSP file individually on the server both the CSS file and the Java script file are loading correctly ,but the problem is when i forward the request from a servlelt both the CSS and the Java Script file is not loading. Can anyone help me out with this problem?
I am having all the html, jsp, CSS, java script into separate folders.
Like
Web-content
|
|-- HTML (This folder will have all the HTML files)
|--- CSS (This folder will have CSS files)
|--- js
|--- JSP