This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts File Upload Problem - File is written but empty

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I'm trying to upload images through my action class. I'm quite sure the image is cached in the server memory but when I output to a file, the file is created but empty... Here is my servlet code...





I hope you could help me guys... Kinda feeling tired now... Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic