How do I trim white space on Caucho Resin?

144 Views Asked by At

I am trying to apply this directive to my server but I'm not sure where to add it:

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

I am using resin 4.0.35 pro.

Thanks.

1

There are 1 best solutions below

1
On

Generally the jsp-property-group is a child of jsp-config, and jsp-config a child of web-app. Put it in your web.xml or resin-web.xml