Tomcat uses the Jasper JSP Engine to implement JSP specs. From Tomcat 5.5’s docs: http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html#Configuration
In particular, a small section configures Tomcat for production:
- development - To disable on access checks for JSP pages compilation set this to false.
- genStringAsCharArray - To generate slightly more efficient char arrays, set this to true.
- modificationTestInterval - If development has to be set to true for any reason (such as dynamic generation of JSPs), setting this to a high value will improve performance a lot.
- trimSpaces - To remove useless bytes from the response, set this to true.
Refer to the above hyperlink for the full list of configurable settings.
Posted by singchyun