[jboss-user] [Beginner's Corner] - fileupload using apache fileupload
Wolfgang Knauf
do-not-reply at jboss.com
Fri Jun 25 10:31:13 EDT 2010
Wolfgang Knauf [http://community.jboss.org/people/WolfgangKnauf] replied to the discussion
"fileupload using apache fileupload"
To view the discussion, visit: http://community.jboss.org/message/549712#549712
--------------------------------------------------------------
Hi,
I assume that you have to configure "DiskFileItemFactory" and set a repository (location to store files) and a threshold (see http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/disk/DiskFileItemFactory.html#setRepository(java.io.File) http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/disk/DiskFileItemFactory.html#setRepository(java.io.File) .If both are not set, it discards files in the request I assume.
Hope this helps
Wolfgang
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/549712#549712]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100625/1d5988fc/attachment-0001.html
More information about the jboss-user
mailing list