Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
Converting FormFile to a Zip in Action class[struts1.2]
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
FormFile sessionFile = sessionFileUploadForm.getSessionFile();//Here sessionFileUploadForm is a ActionForm InputStream iStream = sessionFile.getInputStream();
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
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Not really a
Struts
question. I'd probably just try java.util.zip first.
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Sorry David. My team leader told the way to do that
. Thanks
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
can't use reset on input stream?
File upload in struts
Struts 1.1 upload multiple files with multiple input elements
File upload in struts
Image saving size reduction
More...