the Context is tomcat's representation of a webapp, or just a static html context.
For example, you can create a context in server.xml where you point tomcat to pick up
files from somewhere else
Context path=/mycontext docBase=/usr/local/myhtml/
so no, you can't take the XML tags from web-app
-Original Message-
From: Barley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 3:26 PM
To: [EMAIL PROTECTED]
Subject: Question about Context vs web-app
Can someone clarify something for me? Is a Context
placed within a Host basically just a web-app within a
OK, so then do I have this right?
I put virtual host declarations in Host containers in
the server.xml file.
I put Context's in my Host to point Tomcat at the
various url patterns it should handle.
I configure authorization restraints in the
/hostroot/WEB-INF/web.xml file. Can I configure
* Barley [EMAIL PROTECTED] [0256 21:56]:
OK, so then do I have this right?
I put virtual host declarations in Host containers in
the server.xml file.
I put Context's in my Host to point Tomcat at the
various url patterns it should handle.
Yeah, pretty much - you can also create a file