Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes org.apache.struts.upload.FormFile question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "org.apache.struts.upload.FormFile question" Watch "org.apache.struts.upload.FormFile question" New topic
Author

org.apache.struts.upload.FormFile question

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Hello:

In Struts 1, if I upload a file into a org.apache.struts.upload.FormFile object, does this have the same effect on memory as if I used Commons File Upload to get a byte[]? Thanks.


Eric
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It uses fileupload to do the upload.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: org.apache.struts.upload.FormFile question
 
Similar Threads
File upload in struts
how to upload multiple files using Struts
How to upload an image in a particular directory?
PDF, BLOB and STRUTS
File upload