Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- CSS file location problem!
April 30, 2004, 12:15 pm
rate this thread
app with the following directory structure -
So to access a jsp page I put a URL like
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!