[jboss-user] [JBoss Seam] - Re: <s:fileUpload> problem

shane.bryzak@jboss.com do-not-reply at jboss.com
Tue Apr 17 21:34:05 EDT 2007


I recommend not binding directly to your entity, because the InputStream binding is by far the most resource efficient and obviously you can't have an InputStream property on your entity bean.  Instead I recommend you bind the file data to an InputStream field on a (session bean) component, and then use that to populate your entity. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038202#4038202

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



More information about the jboss-user mailing list