uploading and receiving zip file(java.util.zip) ?

Discussion in 'Java' started by sunil_varma, Feb 5, 2006.

  1. sunil_varma

    sunil_varma Guest

    hi friends
    i what to send a file from client to server. i used post method for it.

    but for better performance i zipped the file using (java.util.zip) and
    send it as normal file ,at server i cannot unzip the file (i
    sucessfully zip and unzip at client). i stopped at unzip .

    can any one help me plz....
     
    sunil_varma, Feb 5, 2006
    #1
    1. Advertising

  2. sunil_varma

    abhi Guest

    u can use the java zip api to zip the contents and by using the
    request.getInputStream()
    in jsp u can make upload possible.....
    sunil_varma wrote:
    > hi friends
    > i what to send a file from client to server. i used post method for it.
    >
    > but for better performance i zipped the file using (java.util.zip) and
    > send it as normal file ,at server i cannot unzip the file (i
    > sucessfully zip and unzip at client). i stopped at unzip .
    >
    > can any one help me plz....
     
    abhi, Feb 6, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Trosen
    Replies:
    2
    Views:
    714
    Thomas Weidenfeller
    Jun 18, 2004
  2. Alex Hunsley
    Replies:
    1
    Views:
    603
    Andrew Thompson
    Sep 16, 2004
  3. yogesh
    Replies:
    4
    Views:
    5,058
    anish.mathew84
    Dec 30, 2009
  4. Replies:
    0
    Views:
    1,731
  5. HARI OM
    Replies:
    0
    Views:
    17,425
    HARI OM
    May 3, 2005
Loading...

Share This Page