H
harry
Probably a very simple answer to this but I just can't see it, I have a web
app with the following directory structure -
PRD
|
- jsp
|
- css
So to access a jsp page I put a URL like
http://localhost:8001/PRD/jsp/main.jsp
So jsp files sit in "jsp" & stylesheets in "css" directories
Using Dreamweaver to attach a css this line is added -
<link href="css/stylesheet.css" rel="stylesheet" type="text/css">
Which is fair enough & works in the design window but when deployed on the
web server (weblogic 8.1) I have to have this line -
<link href="jsp/css/stylesheet.css" rel="stylesheet" type="text/css">
This prevents it working in Dreamweaver then!
Why do I need the "jsp" bit? - surely the 1st line is relative to the
current dir i.e jsp but it refuses to find it!
any ideas?
thanks
harry
app with the following directory structure -
PRD
|
- jsp
|
- css
So to access a jsp page I put a URL like
http://localhost:8001/PRD/jsp/main.jsp
So jsp files sit in "jsp" & stylesheets in "css" directories
Using Dreamweaver to attach a css this line is added -
<link href="css/stylesheet.css" rel="stylesheet" type="text/css">
Which is fair enough & works in the design window but when deployed on the
web server (weblogic 8.1) I have to have this line -
<link href="jsp/css/stylesheet.css" rel="stylesheet" type="text/css">
This prevents it working in Dreamweaver then!
Why do I need the "jsp" bit? - surely the 1st line is relative to the
current dir i.e jsp but it refuses to find it!
any ideas?
thanks
harry