> -----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 > virtual host?
Yes, exactly. Context == deployed webapp. > Can any tags that can be placed in a > web-app also be placed in a Context? Thanks very much. > No. The stuff that's in web.xml is standard Servlet spec stuff, and Tomcat treats it just like other containers do. The stuff in a Context declaration is Tomcat-specific. You can't include stuff from web.xml in it. You can see everything that you *can* include in it here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]