tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Souther <>
Subject RE: Display of Static Resources
Date Sun, 12 Dec 2004 02:00:27 GMT
On Sat, 2004-12-11 at 15:52, Mike Curwen wrote:
> 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.

Yes, If you don't want to have to type the name of the servlet-mapping
in the URL, create a welcome file listing with the same name as your 
url-pattern. (Servlet Spec 2.4 and up)




To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message