Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6538843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:47:05+00:00 2026-05-25T10:47:05+00:00

Please watch this short video which shows my problem in detail : http://youtu.be/uAza4m3fxpY?hd=1 I

  • 0

Please watch this short video which shows my problem in detail: http://youtu.be/uAza4m3fxpY?hd=1

I have a Glassfish 3.1 server running a Netbeans Web Project.
I have a very simple .jsp file with content type set to ‘text/html’ and a large paragraph of dummy text in the body. It looks like this:

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Gzip Test</title>
    </head>
    <body>
        <h1>Gzip compsression test</h1>
        <p>****LOTS OF DUMMY TEXT***</p>
    </body>
</html>

In Glassfish admin, I have forced-enabled gzip compression for the HTTP listener (as described in this guide: http://www.vikasing.com/2010/01/enable-gzip-compression-on-glassfish-v3.html)

When load the page in Firefox and look at the response header, I would expect to see Content-Encoding: gzip, but it’s not there.

Why is the content not being Gzipped?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:47:06+00:00Added an answer on May 25, 2026 at 10:47 am

    I’ve discovered that this is a bug in Glassfish 3.1. It does not property split the accept-encoding header using the , character. For example, if you set firefox’s accept-encoding header to: gzip, deflate it will not gzip the content because the comma screws it up, but if you set it to gzip then it does get gzipped by the server because there is no comma to choke on. Apparently this has been fixed in Glassfish 3.1.1 but I have not tested it yet. See: http://www.java.net/forum/topic/glassfish/glassfish/gzip-compression-glassfish-3-doesnt-work?force=899 for more details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wanted to show problem with this video. Please watch... I've 2 pages. Second
please i am wondering about the name of that control in this video: http://www.youtube.com/watch?v=FEAkVCouI_Y
I'm new in Cocoa-Touch. Please look at this links: http://www.youtube.com/watch?v=Cab8CB_Lzbw http://www.youtube.com/watch?v=8c8KA1uZ9F8&feature=autoplay&list=PL6EFB1A1E5CAA7666&lf=results_main&playnext=1 I really want
let say have element like this <div class=watch-me style=display: none;>Watch Me Please</div> as we
(Apologies in advance if this question is short on details, I'll watch the comments
I've just watched this video showing off an app: https://www.youtube.com/watch?v=2qM3Zps_0pE&feature=player_embedded At 3:34. How in
first of all, see the screenshot please. this is a watch window of vs
Somebody please help me out. This problem is killing me. I went through tones
Here is Google Map Navigation for Android Mobiles: http://www.youtube.com/watch?v=lwggXqMZZ8w Can we achieve this functionality
Can someone please shed some light on this problem in Chrome? The removeChild() function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.