This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Servlets and the fly likes applet-servlet communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "applet-servlet communication" Watch "applet-servlet communication" New topic

applet-servlet communication


Joined: Mar 01, 2000
Posts: 23
hello sir,
i have a 2mb image file on server side, from applet i will
grab 300k from the server. this is taking a lot of time to down
load on the net how to reduce this.
paul wheaton told to do zip, how to do that, how much file size
i can reduce. initially i have made jar file but my purpose is
not survived.
if any person how to zip the file at server side and during communication also, then how to unzip at the client side.
pl help me with an example.
paul wheaton

Joined: Dec 14, 1998
Posts: 20271

If the image is a gif file, it is already compressed. Zip isn't going to be worth the effort.

permaculture Wood Burning Stoves 2.0 - 4-DVD set
I agree. Here's the link:
subject: applet-servlet communication
Similar Threads
Zip Streams
Sending file through http protocol
This weeks giveaway
Sending file via http protocol
Connects to more than one server !!!!