On Wed, Jun 16, 2004 at 07:04:12PM -0700, Ivan Jouikov wrote:
: Tomcat HOW-TO does a really bad job of explaining of how context.xml would
: work... Google didn't yield any useful information as well...

I'm not sure where you're looking -- which howto did you read?


: So, as far as I understand, you create a file called context.xml, and place
: the <Context> tag and all its contents into it (instead of keeping them inside
: of server.xml)...

Correct.


: Now, where does that context.xml go?  Into WEB-INF?  Tried it, didn't work.

{context}/META-INF

To answer your other question: this file is associated with the webapp
because of its location in the context dir or WAR file.  That's how the
manager app/Tomcat/etc know what to do with it.

I don't know what's up there now, but this was described on the Tomcat
site when I made the switch to using context.xml many moons ago. ;)
In fact, for Tomcat5 use of context.xml is encouraged.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to