wood burning stoves*
The moose likes Servlets and the fly likes Filters and GZip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Filters and GZip" Watch "Filters and GZip" New topic
Author

Filters and GZip

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
Hello Friend,
i am new to filters. I am trying to add GZip to my existing web applications using filters. I am able to make filter which intercepts every request(before it reaches servlet). But in one case i when user clicks a button i have to go back to server, refresh the same page. But something unexpected is happening, control gows to the server, page is refreshed but rather than opening that pop-up window, dialog box to save file appears. I am not apple to understand why it is happening.
following is the code for filter


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
 
 
subject: Filters and GZip
 
Similar Threads
code using the filter is not working
JSP with large data loads slow in Solaris10 OS , we are using Jrun4 and nested logic:iterate
Fudging Filter Functionality as a method call
chain.doFilter() being called twice.
Stream and writer