tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Neuberg <>
Subject RE: JSP Compiler produces huge HTML files with whitespace
Date Wed, 08 Sep 2004 17:45:00 GMT
Yoav, thanks; this works.  One question; why isn't this true by default?


At 09:56 AM 9/8/2004, you wrote:

>trimSpaces at
>Yoav Shapira
>Millennium Research Informatics
> >-----Original Message-----
> >From: Brad Neuberg []
> >Sent: Wednesday, September 08, 2004 12:55 PM
> >To:
> >Subject: JSP Compiler produces huge HTML files with whitespace
> >
> >It seems like Tomcats JSP compiler produces _huge_ HTML pages,
> >all the white space in the original JSP file.  When I view source I see
> >tremendous amount of white space with barely any tags.  The file sizes
> >bloated by about three times.  I have GZIP encoding on, but the white
> >makes it difficult for developers to step over the HTML produced to
> >things.  Does anyone know if there is a setting in Tomcat to reduce the
> >amount of whitespace in generated HTML files from JSP?
> >
> >Thanks,
> >   Brad Neuberg
> >   Senior Software Engineer, Rojo Networks
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> >For additional commands, e-mail:
>This e-mail, including any attachments, is a confidential business 
>communication, and may contain information that is confidential, 
>proprietary and/or privileged.  This e-mail is intended only for the 
>individual(s) to whom it is addressed, and may not be saved, copied, 
>printed, disclosed or used by anyone else.  If you are not the(an) 
>intended recipient, please immediately delete this e-mail from your 
>computer system and notify the sender.  Thank you.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message