[jboss-user] [JBoss Seam] - Re: Progress bar for fileUpload

zaya do-not-reply at jboss.com
Tue Oct 23 22:36:38 EDT 2007


But I still have question on this solution:

1.I want to put the attribute into conversation instead of session. I tried to use ContextualHttpServletRequest to wrap the processMulitpart() method in the filter to access conversation context. But it's no success. It gives error "java.lang.IllegalStateException: No active event context". 
Maybe it's becauce seam context is built twice?  

2. In the mulitpart request value of getContentLength() method doesn't exactly match the size of a fully uploaded file, even when only one uploaded file exists. This makes difficult to examine if the upload is really finished.

Thanks in advance.

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

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



More information about the jboss-user mailing list