Sorry, but I thought the question had to do with
getting rid of whitespace from JSPs generated at
runtime.  Perhaps I lost the thread. - MOD

--- Yann C�bron <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> here's a snippet I use in my build.xml after copying
> the JSPs and HTML files
> to the build dir:
> 
>  <replaceregexp match="&gt;\s*&lt;"
> replace="&gt;&lt;" 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]
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to