我正在尝试将此指令应用于我的服务器,但不确定在哪里添加它:
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<trim-directive-whitespaces>true</trim-directive-whitespaces>
</jsp-property-group>
我正在使用树脂 4.0.35 专业版。
谢谢。
一般jsp-property-group
是jsp-config
的子代,jsp-config
web-app
的子代。把它放在你的web.xml
或resin-web.xml