> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: RE: web.xml configured correctly, but still > getting'404...resourcenot found' > > This context.xml was the one in conf.
That explains why you had problems. The one in conf contains attributes to be shared by *all* webapps; under no circumstances should it ever contain any app-specific settings. The other context.xml files define Tomcat-specific attributes for each associated webapp that are needed for proper treatment of the webapp but are not described in the servlet spec. Each container handles this a bit differently. Once upon a time, <Context> elements had to be in server.xml, which required restarting Tomcat if anything needed changing. For the past few years, Tomcat has made it possible to place <Context> elements in webapp-specific locations, allowing changes with only a restart of the particular webapp, not the whole container. Consequently, the path and docBase attributes are no longer appropriate in most instances. The <Context> doc is here: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]