The excessive white space from post-processed JSP code can leave very much white space. This is very annoying when doing an examination of the XHTML code produced because of the chunks of white space that result.
For those using Tomcat 5.5+ there is a solution for this:
<init-param>
<param-name>trimSpaces</param-name>
<param-value>true</param-value>
</init-param>
Very simple implementation. Just add the code snippet to: $CATALINA_HOME/conf/web.xml