Remove JSP directive whitespaces with trim-direct,
July 12, 2008 at 3:40 PM
Also new with Servlet API 2.5 / JSP 2.1 (reduces sizes and speeds up transfers):
<jsp-config> <jsp-property-group><display-name>trimDirectiveWhitespaces</display-name> <description>Removes all whitespaces created by JSP directives, i. e. empty lines in created HTML output</description> <url-pattern>*.jsp</url-pattern> <trim-directive-whitespaces>true</trim-directive-whitespaces> </jsp-property-group> </jsp-config>