• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

File upload in struts 2  RSS feed

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am uploading file using struts2 but seems to upload one file at a time. is file upload process is single threaded in struts2? if yes then how can i make it multi-threaded.

in my case, file size is large upto 500 MB.
 
Ranch Hand
Posts: 188
Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi vikas,

default is 2mb, use this code in your struts.xml to upload file upto2Gb,

regarding multiple file upload:
http://www.coderanch.com/t/447857/Struts/multiple-file-upload-Strut

tut:
http://www.mkyong.com/struts2/struts-2-upload-multiple-files-example/
 
vikas byn
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

debraj mallick wrote:hi vikas,

default is 2mb, use this code in your struts.xml to upload file upto2Gb,

regarding multiple file upload:
http://www.coderanch.com/t/447857/Struts/multiple-file-upload-Strut

tut:
http://www.mkyong.com/struts2/struts-2-upload-multiple-files-example/



I think you get this from my old posts. But now i changed it to 500 MB.

My issue is not that you think. My Issue is - Multiple users upload large files at same time But it seems that it is uploading one file at a time.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!