On 07/11/2021 10:44, Greg Huber wrote:
Hello,
I am testing CookieProcessor for SameSite stuff.
In my dev environment, I use ROOT.xml with
<Context reloadable="false" docBase="/home/me/project/webapp"
workDir="/home/me/project/work" />
I have a context.xml file in META-INF but it seems to ignore it. When I
deploy via a war it is picked up OK.
A web application can only have one context.xml file. If you have
deployed it via a $CATALINA_BASE/conf/<engine/<host>/ROOT.xml then any
context.xml file in the application will be ignored.
When you deploy via a WAR, the context.xml will be used (and may be
extracted).
webapp/META-INF/context.xml
webapp/WEB-INF/.....
Is this normal logic?
Yes.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org