you've named it 'myweb.xml', just so we can tell the attachments apart, or
is it actually named myweb.xml?  If the latter, change it to web.xml.
 
And having your servlet mapped to "/" is most likely the problem.
 
The default servlet is the one that Tomcat uses to serve up static
resources.  So either change your servlet to handle static resources or (way
better option), map your servlet to a pattern other than "/", and then
change your web form accordingly.
 

-----Original Message-----
From: Ram Sriram [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 11, 2004 1:10 PM
To: Tomcat Users List
Subject: Re: Display of Static Resources


Ben,
I removed all my application specific entries in web.xml under conf and
moved those to the web.xml under ROOT\WEB-INF. I am attaching both the
web.xml files. One under the WEB-INF is called myweb.xml. I am not sure if I
have reverted the global web.xml to its original state; I may not have.
I tried out with these changes; there is no change in the behavior. When I
start test.html, it still takes me to my servlet. index.jsp still doesn't
display graphics.
Thanks...Ram


 

Reply via email to