> -----Original Message-----
> From: Simon Kitching [mailto:[email protected]]
> Sent: Friday, April 17, 2009 7:50 PM
> To: MyFaces Discussion
> Subject: Re: GZipping JSF Response
> 
> Madhav Bhargava schrieb:
> > Hi Cagatay,
> >
> >
> >
> > I tried using the GZipFilter that comes along with ehcache as well. I
> > configured the filter in web.xml and the mapping URL was just
> “*.jsf”.
> > It used to give the same problem. Somehow the gzipped content is
> getting
> > written to the IDE console instead of sending that to the browser.
> 
> It's probably just a filter order problem.
> 
> A servlet engine nests filters in the order they are declared in the
> web.xml file. So make sure your gzip filter is the first filter
> declared
> in your web.xml file...that will make compression be the last thing
> done
> before the data is sent out.
> 
> Regards,
> Simon

That was the problem, Huh!!!
Sometimes you just miss some of the most basic of things.
Thanks for your quick response.

Regards,
Madhav

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to