You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "CRANFORD, CHRIS" <ch...@setechusa.com> on 2004/10/26 18:25:36 UTC

Blank Line Filter

How would I go about implementing a wrapper around my JSP servlet engine
that would strip blank lines from the JSP stream when it sends the content
to the browser?  We're using struts and some the el tags with heavy
iteration and loops on large data sets and what we're seeing is that the
output can be drastically reduced by removing blank lines that are emitted
by the struts/JSTL tags.  

Any suggestions or recommendations are greatly appreciated.  

_______________________________________________________
Chris Cranford
Programmer/Developer
SETECH Inc. & Companies
6302 Fairview Rd, Suite 201
Charlotte, NC  28210
Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042 
Email: chris.cranford@setechusa.com


Re: Blank Line Filter

Posted by David Stevenson <ho...@ytfc.com>.
Is it really making that much of an impact?

Each blank line is only one byte.



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


RE: Blank Line Filter

Posted by Robert Taylor <rt...@mulework.com>.
I think your looking for a data compression filter.

http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=1


robert

> -----Original Message-----
> From: CRANFORD, CHRIS [mailto:chris.cranford@setechusa.com]
> Sent: Tuesday, October 26, 2004 12:26 PM
> To: 'user@struts.apache.org'
> Subject: Blank Line Filter
> 
> 
> How would I go about implementing a wrapper around my JSP servlet engine
> that would strip blank lines from the JSP stream when it sends the content
> to the browser?  We're using struts and some the el tags with heavy
> iteration and loops on large data sets and what we're seeing is that the
> output can be drastically reduced by removing blank lines that are emitted
> by the struts/JSTL tags.  
> 
> Any suggestions or recommendations are greatly appreciated.  
> 
> _______________________________________________________
> Chris Cranford
> Programmer/Developer
> SETECH Inc. & Companies
> 6302 Fairview Rd, Suite 201
> Charlotte, NC  28210
> Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042 
> Email: chris.cranford@setechusa.com
> 
> 

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