Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Filters and GZip

 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic