Hi, simple question to confirm a doubt about
https://tomcat.apache.org/tomcat-9.0-doc/config/context.html#Naming

the first paragraph states
>   When autoDeploy or deployOnStartup operations are performed by a Host,
the name and context path of the web application are derived from the
name(s) of the file(s) that define(s) the web application. Consequently,
the context path *may not* be defined in a META-INF/context.xml embedded in
the application

Does this means that if an application defines a META-INF/context.xml file,
it can not have the `path` attribute ?

Otherwise what would be the cases in which it is ok to have a
META-INF/context.xml file inside an application ?

Thank you,
Simon

Reply via email to