Thanks a lot, those answer cleared the doubt I had. Now I understand. Le sam. 16 nov. 2024, 10 h 11, Christopher Schultz < ch...@christopherschultz.net> a écrit :
> 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 > >