Options like the tld cache cannot be set via external configuration. The attached patch allows the org.apache.jasper.Options implementation used by the JspServlet to be set via an engineOptionsClass parameter: <servlet> <servlet-name>jsp</servlet-name> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> ... <init-param> <param-name>engineOptionsClass</param-name> <param-value>org.jboss.web.tomcat.tc5.jasper.JspServletOptions</param-value> </init-param> <load-on-startup>3</load-on-startup> </servlet>
Created attachment 14608 [details] Patch for engineOptionsClass option patch
It seems to add the original intended behavior of allowing plugging the options. I'll commit your patch tomorrow.
I have applied the patch.