P
Peter Horlock
Hi, I want to remove all unnessary white spaces from my jsps (to
reduce file size and for search engine optimization...)
I found the Tomcat param (web.xml):
<init-param>
<param-name>trimSpaces</param-name>
<param-value>true</param-value>
</init-param>
Which does a nice job - but for some reason it even removes spaces it
should NOT!!
The problem (and a few work arrounds a didn't like too much) is
described in more detail here:
http://raibledesigns.com/rd/entry/trim_spaces_in_your_jsp1
Any other ideas of how to fix this?
and so on doesn't really get you a clean html code...,
<cut value=""/> and so on will clutter your jsp code...
Maybe this problem is fixed with Tomcat 6.x?
Any other solutions of how to get this done?
Thanks in advance,
Peter
reduce file size and for search engine optimization...)
I found the Tomcat param (web.xml):
<init-param>
<param-name>trimSpaces</param-name>
<param-value>true</param-value>
</init-param>
Which does a nice job - but for some reason it even removes spaces it
should NOT!!
The problem (and a few work arrounds a didn't like too much) is
described in more detail here:
http://raibledesigns.com/rd/entry/trim_spaces_in_your_jsp1
Any other ideas of how to fix this?
and so on doesn't really get you a clean html code...,
<cut value=""/> and so on will clutter your jsp code...
Maybe this problem is fixed with Tomcat 6.x?
Any other solutions of how to get this done?
Thanks in advance,
Peter