tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: Removing whitespace.
Date Tue, 22 Jan 2002 13:49:20 GMT
The JSP spec, including JSP 1.2, states that whitespace should
be preserved.  Though the patch won't be implemented, you can
check Bug 5560:

<http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=5560>

for a suggested patch to remove the whitespace.  You are welcome
to customize Jasper if it suits your needs.


Cheers,
Larry

> -----Original Message-----
> From: Steve Mactaggart [mailto:smactaggart@303sport.com]
> Sent: Monday, January 21, 2002 10:28 PM
> To: Tomcat Users List
> Subject: Removing whitespace.
> 
> 
> Hi all,
> 	I have some jsp's that are generate some larger html 
> files.  One of the
> reasons is the indenting of the code to manage development.  
> I was wondering
> if there is an option for tomcat to remove all whitespace 
> before it sent the
> data.  I know that the old Enhydra servlet server used to do 
> this and in my
> case this would save a large amount of size from the 
> generated html files.
> 
> I don't want to un-indent the code as it will be too hard to maintain.
> 
> FYI,
> 	using Tomcat 3.3-dev on Win2000 and Linux but would be 
> happy to hear if it
> is a feature of 4.
> 
> Thanks for your help
> 
> --------------------------------
> Steve Mactaggart
> Senior Java Developer /
> Team Leader
> 
> 303 Sport
> BH: 9620 7477
> FAX 9620 7377
> --------------------------------
> 
> 
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message