My name is Vasyl Khrystiuk‎ > ‎process‎ > ‎main‎ > ‎

trim white spaces from jsp output

In jsp:
<%@ page trimDirectiveWhitespaces="true" %>

As filter:
<jsp-config>
  <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
	<!--
	<url-pattern>*.someAditionalRule</url-pattern>
	-->
    <trim-directive-whitespaces>true</trim-directive-whitespaces>
  </jsp-property-group>
</jsp-config>

Comments