Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-03-2008, 05:55 PM   PM User | #1
BubikolRamios
Senior Coder

 
Join Date: Dec 2005
Location: Slovenia
Posts: 1,876
Thanks: 114
Thanked 76 Times in 76 Posts
BubikolRamios is on a distinguished road
modify response.getOutputStream() before gzip

I have a filter that gzip-s all jsp-s before sending to client.

If nothing else it is eating my nerves when wiew/source on browser:

Code:
 
        <!--samo zato da drži info o trenutnem jeziku-->
        <div style = 'display:none' id = 'l'>
          EN 
        </div>  
        
        <div st ....
and this is a nice one , a bunch of spaces, comments.

Is there a way to remove that from response.getOutputStream() before gzipping ? I'm sure it is I just dont know how to do it.

Allso, seems gzip is taking time, is that worth to use it at all ?
BubikolRamios is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:25 PM.


Advertisement
Log in to turn off these ads.