Another option could be to use JSPC precompile your jsps, but between the java file generation and the compilation, strip out what you don't want. I haven't done this (the stripping out part) so its only theory, but it would seem to help you blank line problem with no runtime over head.

Mark

On 26 Oct 2004, at 20:16, CRANFORD, CHRIS wrote:

I just plugged in the Gzip compression shown below and for some strange
reason it prompts me to download the file for my filter of *.do. Probably
content-type isn't set right or something I suspect.


Chris

-----Original Message-----
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 1:19 PM
To: Struts Users Mailing List
Subject: RE: Blank Line Filter


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:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 12:26 PM
To: '[EMAIL PROTECTED]'
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: [EMAIL PROTECTED]



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


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


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



Reply via email to