aspose file tools*
The moose likes Servlets and the fly likes Compression filter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Compression filter" Watch "Compression filter" New topic
Author

Compression filter

sandeep Talari
Ranch Hand

Joined: Dec 24, 2007
Posts: 63
hello,
question and requests regarding compression filters. My knowledge is MyWrapper should extend HttpServletRequestWrapper and override getOutputStream() in your MyWrapper class

in filter class we have to create the object of the MyWrapper class and pass the object to the
chain.dofilter(request, MyWrapResponse)(assuming that chain is object we had from FilterChain.

where GZIP(java.util) is used and its purpose,

and give me Code demonstration for the compression filter with easy explaination or you can post me url
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

The head first book has a section that covers this. It is a good tutorial to help you implement what you want to do.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
sandeep Talari
Ranch Hand

Joined: Dec 24, 2007
Posts: 63
i didn't get this part from them any option
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by sandeep Talari:
i didn't get this part from them any option


I'm not sure what this means.
Can you ask it again in another way?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Originally posted by sandeep Talari:
i didn't get this part from them any option
Please use complete sentences when posting to the Ranch.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compression filter