On Mon, Jun 04, 2007 at 06:41:02PM +0800, Guofeng Zhang wrote:
> We have four web applications that deployed on Tomcat 6.0 at the same
> time. Some special customers want to use special context paths to access
> them, so I think the easiest way is to use context.xml to define the
> context paths.
> 
> I do not know how to do it? Can you kindly give me a sample? Thanks
> 
> As I know, the context.xml is placed in $CATALINA_HOME/conf/context.xml.
> This way we can only define one context path.

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

There are five places where a Context may be defined.  You probably
want either '$CATALINA_HOME/conf/[enginename]/[hostname]/pathname.xml'
or (within the app. itself) 'META-INF/context.xml'.  In the former
case you would specify the path by the naming of the file; in the
latter, you would code a 'path' attribute in the Context element.

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is "intuitive" he
means the exact opposite.

Attachment: pgp4YDWzpIkwI.pgp
Description: PGP signature

Reply via email to