It looks like you're reading in the file even if one wasn't selected for
uploading. In my file upload bean I check to see if a file was actually uploaded. If
not, don't read it in. Here's how it looks for me:
| if (uploadFile == null) {
| error("Hmm. uploaded file data is null!");
| return;
| }
|
Could this be your problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026408#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...