views:

45

answers:

1

Hello, I want to compress my HTTP request before sending it in java. how to do please ? I'm using JBoss4.2 as a Server

+5  A: 

I guess you mean "response". See here on how to do it - you have to enable GZIP compression.

Bozho
Hey, thnx for your answer :)I'm sending a big string to a CGI (in delphi) that will put it in the database, so I think if I compress it will be faster, but will CGI understand the compressed request ???
taichimaro