tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Neuberg <b...@columbia.edu>
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?

Brad

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

>Hi,
>trimSpaces at
>http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html.
>
>Yoav Shapira
>Millennium Research Informatics
>
>
> >-----Original Message-----
> >From: Brad Neuberg [mailto:bkn3@columbia.edu]
> >Sent: Wednesday, September 08, 2004 12:55 PM
> >To: tomcat-user@jakarta.apache.org
> >Subject: JSP Compiler produces huge HTML files with whitespace
> >
> >It seems like Tomcats JSP compiler produces _huge_ HTML pages,
>retaining
> >all the white space in the original JSP file.  When I view source I see
>a
> >tremendous amount of white space with barely any tags.  The file sizes
>are
> >bloated by about three times.  I have GZIP encoding on, but the white
>space
> >makes it difficult for developers to step over the HTML produced to
>debug
> >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
> >   bkn3@columbia.edu
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
>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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message