wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts File Upload Problem - File is written but empty Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts File Upload Problem - File is written but empty" Watch "Struts File Upload Problem - File is written but empty" New topic
Author

Struts File Upload Problem - File is written but empty

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
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!


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts File Upload Problem - File is written but empty