Update Java code to align with Tomcat 11
2 files changed