[jboss-user] [JBoss Seam] - Re: Help on s:filleupload

stu2 do-not-reply at jboss.com
Thu Mar 8 15:16:22 EST 2007


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#4026408

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026408



More information about the jboss-user mailing list