Simon,

On 11/14/24 3:08 PM, Simon Arame wrote:
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 ?

Well... it CAN, but that name will be ignored.

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

See Mark's response.

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to