My setting:
- Tomcat-Standalone
- <Context
className="org.apache.catalina.core.StandardContext"
cachingAllowed="true"
charsetMapperClass="org.apache.catalina.util.CharsetMapper"
cookies="true"
crossContext="false"
debug="0"
docBase="C:\Web\development\eclipse\workspace\j2ee-test\web"
mapperClass="org.apache.catalina.core.StandardContextMapper"
path="/j2ee"
privileged="false"
reloadable="false"
swallowOutput="false"
useNaming="true"
wrapperClass="org.apache.catalina.core.StandardWrapper">
- Directory structure:
j2ee-test
|- doc
|- src
|- web
|- jsp
|testMain.jsp
|- styles
|global.css
|- WEB-INF
|...
And here is the problem. In my testMain.jsp page, I have:
<style type="css/text" src="../styles/global_style.css">
<style type="css/text" src="../styles/elements.css">
<style type="css/text" src="../styles/navigation.css">
But I have to comment out these three lines in order for the page to be
displayed in IE, otherwise IE doesn't display anything(not even errors), while
Mozilla just ignores it.
I tried both http://localhost:8080/j2ee/jsp/ and
http://localhost:8080/j2ee/styles/, I can see my files under that directory. I
also tried to play with the '..' a bit, but none worked.
Anyone see the problem?
Thanks in advance!
-Yan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]