[jboss-user] [JBoss Seam] - Re: null pointer exception with fileUpload
nathandennis
do-not-reply at jboss.com
Tue Jan 15 02:07:57 EST 2008
you might also be having trouble because you havent opened the file. the way you have done it might work... i'm not sure. normally i would write it like.
| File file = new File(filepath + filename);
| FileOutputStream os =new FileOutputStream(file);
| os.write(your_byte_array);
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119920#4119920
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119920
More information about the jboss-user
mailing list