aspose file tools
The moose likes Struts and the fly likes UnZip the FormFile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "UnZip the FormFile" Watch "UnZip the FormFile" New topic

UnZip the FormFile

sonu arora
Ranch Hand

Joined: Jul 25, 2002
Posts: 30

In my project user will upload a zip file on to the server . I am using Struts Framework and I have to read an individual file from that zip file.
can somebody help me to do this in struts.


try & try u ll surely win.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The Struts framework will help you with the task of uploading the zip file. For an example of uploading using struts, see the upload example in the struts-examples.war file that comes with the Struts download.

To read a file within a zipped archive, you will need to use the classes in the package that is part of the java core library. Here is a link that explains how to use those classes.

Consultant, Sima Solutions
sonu arora
Ranch Hand

Joined: Jul 25, 2002
Posts: 30
Thanks!It resolved the issue.
I agree. Here's the link:
subject: UnZip the FormFile
It's not a secret anymore!