wood burning stoves 2.0*
The moose likes Struts and the fly likes Converting FormFile to a Zip in Action class[struts1.2] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Converting FormFile to a Zip in Action class[struts1.2]" Watch "Converting FormFile to a Zip in Action class[struts1.2]" New topic
Author

Converting FormFile to a Zip in Action class[struts1.2]

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575



i uploading a file from jsp and getting the inputstream on action class. now my question is how can i convert it into a zip file . i tried but failed . please tell me the way
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Not really a Struts question. I'd probably just try java.util.zip first.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Sorry David. My team leader told the way to do that . Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Converting FormFile to a Zip in Action class[struts1.2]
 
Similar Threads
File upload in struts
File upload in struts
Struts 1.1 upload multiple files with multiple input elements
can't use reset on input stream?
Image saving size reduction