tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Need help reading context.xml in Tomcat's conf directory
Date Wed, 13 Dec 2006 23:48:01 GMT
> From: Lenny Wintfeld [mailto:lenny@cecilrep.com] 
> Subject: Need help reading context.xml in Tomcat's conf directory
> 
> The context.xml is not part of the web-app servlet directory tree,
> its in Tomcat's conf directory.

The context.xml file in the conf directory is common to all webapps.
You can put app-specific <Context> elements in a context.xml file in the
META-INF directory of each webapp, if you wish.  Look here for doc on
how to configure parameters:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Context%20Pa
rameters

Note that you may also place the equivalent in the app's WEB-INF/web.xml
if that's more convenient.

Look at the Servlet spec for a description of the APIs to use to
retrieve them at run time.

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message