You can get Tomcat-5's JSP compiler to remove some whitespace
in conf/web.xml you can set trimSpaces to true. It will remove
whitespace between tags.
eg <logic:iterate ...>
<bean:write .../>
</logic:iterate>
Would be reduced to
<logic:iterate ...><bean:write .../></logic:iterate>
but
<logic:iterate ...>
<bean:write .../>abc
def
</logic:iterate>
would be
<logic:iterate ...><bean:write .../>abc
def</logic:iterate>
draegoon Z wrote:
Hey guys,
I'm finally sick of all the unwanted carriage returns created by tiles and
struts tags.
I searched the archives and found this trick:
<logic:iterate
<tr><td><bean:write /></td></tr
</logic:iterate>
but it doesn't fix everything, especially comments.
Has anyone else gotten sick of this and came up with a quick and clean
solution?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea