The seam component lets you bind to a stream. You can then do just what Shane suggests.
Here's how I use it:
private InputStream uploadFileInputStream;
|
and
<s:fileUpload id="catalog"
data="#{catalogUpdate.uploadFileInputStream}"
| fileName="#{catalogUpdate.uploadFileName}" />
|
In your bean, the stream is set to the file contents.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069140#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...