tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50074] Mutli-Level Contexts
Date Mon, 11 Oct 2010 17:47:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50074

--- Comment #3 from Chuck Caldarale <chuck.caldarale@unisys.com> 2010-10-11 13:47:08
EDT ---
(In reply to comment #2)
> Based on the Tomcat 5.5-7.0 documentation, individual files (with a ".xml"
> extension) in the $CATALINA_BASE/conf/[enginename]/[hostname]/ directory. The
> name of the file (less the .xml extension) will be used as the context path.
> Multi-level context paths may be defined using #, e.g. foo#bar.xml for a
> context path of /foo/bar. The default web application may be defined by using a
> file called ROOT.xml. 
> 
> If that interpretation is incorrect where is it correctly documented ?

What you stated in comment #2 is correct.  Perhaps you're confusing context
path (that which appears in a URL, using a slash as a separator) with file
system path (which uses # as separator).  Note that expansion of a .war into a
directory is done solely for the convenience of Tomcat; nothing in the servlet
spec requires such action, so there should not be any expectations about the
naming conventions used in such an expansion.

 - Chuck

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message