> From: che10234 [mailto:cheni...@rogers.com] > Subject: environment entries web.xml localhost/context.xml confusion > > I don't understand why the env entries appear in > two different xml files, and with different values.
Tomcat doesn't create these; the developer (or administrator) does. You have the choice of placing environment entries in either location. IIRC, the ones in the <Context> element will supersede the ones in web.xml, allowing the administrator to replace any the developer set without the need of updating the original .war file. > Is this saying that the first time a WAR is deployed, the > /WEB-INF/web.xml file is copied to localhost/myapp.xml file, > and never again? Read it again; it doesn't say that at all. The file being copied is META-INF/context.xml, not WEB-INF/web.xml. - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org