d8bc180f04
Remove checks for specific Tomcat versions, instead checking whether a stacktrace is returned when requesting ?Class.classLoader.resources.dirContext.cacheObjectMaxSize with invalid arguments. Tested against Tomcat 6 and Tomcat 7 with Struts 2.3.16.1