jsp源代码页面多余空行处理方案

配置文件web.xml中配置:

<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<trim-directive-whitespaces>true</trim-directive-whitespaces>
</jsp-property-group>
</jsp-config>

posted @ 2015-11-16 15:30  骑一头小猪  阅读(388)  评论(0)    收藏  举报