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 812725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:14:50+00:00 2026-05-15T01:14:50+00:00

If compression is setup on tomcat, will it also compress data that is uploaded

  • 0

If compression is setup on tomcat, will it also compress data that is uploaded by the client – via browser/applet ?

  • 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-15T01:14:51+00:00Added an answer on May 15, 2026 at 1:14 am

    No, it won’t. It only applies on the server response. The client has to compress the request data itself. It makes no sense to send the data from the client uncompressed over network to the server first and then compress over there. It won’t have any benefits (i.e. saving network bandwidth and so on).

    Compression of HTTP requests is however not part of the HTTP specification since a client can’t know beforehand if a server would support it. It has to fire a whole request first. It’s only specified for the HTTP responses. The server can determine based on the Accept-Encoding request header if the client supports compression or not and then handle accordingly.

    In an applet, you can consider to send the data compressed using GZIPOutputStream. You’ll only need to develop a specific servlet on the server side which listens on requests from the applet only and knows that it needs to decompress the HttpServletRequest#getInputStream() accordingly using GZIPInputStream

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

Sidebar

Ask A Question

Stats

  • Questions 493k
  • Answers 493k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer It seems prev and next method of Paginator helper doesn't… May 16, 2026 at 10:39 am
  • Editorial Team
    Editorial Team added an answer You should remove the braces: { and } around single… May 16, 2026 at 10:39 am
  • Editorial Team
    Editorial Team added an answer Sure this is possible. This is the basic principle of… May 16, 2026 at 10:39 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Wondering if anyone has set up GZIP compression for Spring HttpInvoker requests using Tomcat,
Trying to setup a CodeIgniter based project for local development (LAMP stack), and once
Have other people here played with SQL Server 2008 Compression at either the page
I have a WinForms project in Visual Studio 2008, and I've created a Setup
How do I turn off gzip compression on my SOAP requests from Silverlight 3
I am trying to compress multiple files into a single zip archive and I
For the same data set, with mostly text data, how do the data (table
We are streaming data between a server (written in .Net running on Windows) to
I'm using IIS 6 with EPiserver CMS which requires all requests to go through
From an earlier post about trying to improve my sites performance I have been

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.