0
我正在使用tomcat 8,並且必須在web應用程序構造內的應用程序web.xml中遵循指令,但空間不會被修剪。任何想法有什麼不對或如何調試它?tomcat修剪白色空間
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<trim-directive-whitespaces>true</trim-directive-whitespaces>
</jsp-property-group>
</jsp-config>