Results 1 to 2 of 2
Thread: Unzipping a request in a servlet
- 07-06-2011, 10:32 PM #1
Member
- Join Date
- Jul 2011
- Posts
- 1
- Rep Power
- 0
Unzipping a request in a servlet
Hi All,
I have a jsp page with a browse button and upload option to upload any file/zip folder.
When user browses any zip file and he clicks on upload button, the call goes to the servlet.
Now the zip folder is coming through a request object in the servlet.
The problem is i am not able to unzip and access the files inside it.
I want to unzip the files on the fly without saving it in the local machine.
Please help.
Hope i am clear in explaining my problem.
Thanks
Abhiram
- 07-06-2011, 10:45 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,609
- Rep Power
- 5
See the classes in the java.util.zip package, and the following article shows some actual code for decompressing zip files
Compressing and Decompressing Data Using Java
Similar Threads
-
Extracing xml rpc Servlet Request parameters
By ypktm in forum Java ServletReplies: 1Last Post: 11-24-2010, 09:03 AM -
Unzipping a file
By twiggy62 in forum New To JavaReplies: 3Last Post: 02-20-2010, 12:33 AM -
Unzipping
By Java Tip in forum Java TipReplies: 0Last Post: 03-03-2008, 05:17 PM -
Dispatching request to another Servlet
By Java Tip in forum Java TipReplies: 0Last Post: 01-27-2008, 08:20 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks