Chris, unfortunately I have not yet implemented a compression filter
in my web apps. I had just read the article mentioned below and thought
it was applicable to your question. 

Sorry I'm not much help with your implementation questions.
It sounds like your hunch may be correct as the browser apparently
doesn't know how to handle the content once its passed through the filter.

robert

> -----Original Message-----
> From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 26, 2004 2:17 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Blank Line Filter
> 
> 
> 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