Uploading a zip file to a jsp and extract the content in another jsp

Posted by sunnyj on Stack Overflow See other posts from Stack Overflow or by sunnyj
Published on 2010-05-18T07:51:45Z Indexed on 2010/05/18 9:01 UTC
Read the original article Hit count: 1077

Filed under:
|
|
|

I want to upload a zip file in a jsp page and the user is sent to another jsp page after he selects and uploads the file.

In this second page I want to

1.)extract the uploaded zip file.

2.)read some content from the extracted file(s) and allow the user to change/edit them

3.)save the user changes in the files.

4.)zip the files again and save it in another destination.

Please suggest me a rough outline of a solution as I am stuck in the phase in which I get the uploaded file and re-direct the user to the second jsp.

© Stack Overflow or respective owner

Related posts about java

Related posts about jsp