Hi,
here's a snippet I use in my build.xml after copying the JSPs and HTML files
to the build dir:
<replaceregexp match=">\s*<" replace="><" flags="g"
byline="false">
<fileset dir="${build.home}" includes="**/*.html,**/*.htm,**/*.jsp"/>
</replaceregexp>
This is not a perfect solution, but it gets you a *very* compact HTML output
and it does not have any runtime-costs like e.g. Servlet-filters or other
tags which strip the whitespace *after* the response has been generated.
HTH,
Yann
"Neil Zanella" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
>
> Hello,
>
> Is there really no NEAT way of removing those blank lines left over from
> JSP tags in the output??? I'm shocked!!! :-()
>
> Thanks! :-)
>
> Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]