Is there a way, when you have your context.xml in META-INF rather than
specifying the Context element in server.xml or elsewhere, to customize the
context path?

I'd like to use context.xml in META-INF because of the benefits of this
approach, but there seems to be no way to change the context path, which is
always the name of the folder underneath appBase. For example, if appBase
contains a folder called webroot, then the context will be called webroot.
(It's not possible to change the name of this folder for some internal
reasons.)

The documentation seems to indicate that a path attribute cannot be present
in the Context element when context.xml is in META-INF - is there another
way to achieve the effect I've described? If not, is there a strong reason
why context.xml in META-INF couldn't read and use the path attribute of
Context?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Specify-context-path-when-context.xml-is-in-META-INF-tp14246199p14246199.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to