On 25/01/18 05:25, Christopher Schultz wrote: <snip/>
> You can also use <init-param> in WEB-INF/web.xml for the JSP servlet. > You will probably have to copy those settings you want from the JSP > configuration in conf/web.xml because I don't think Tomcat will merge > init-param between the two files. Tomcat should merge the init-param entries. The rules for merging the default web.xml file are as follows. 1. Web fragments, annotations etc. are merged into the main web.xml as per the Servlet spec merge rules to created an updated main web.xml. 2. The default web.xml is them merged into the updated main web.xml as if the default web.xml was a web fragment again following the Servlet spec rules with one exception. If there is a conflict, rather than triggering an error, the updated main web.xml always takes precedence. The code that does this is in ContextConfig and WebXml. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org