开发者

rich:fileUpload is not working in jboss-6.0.0.Final

开发者 https://www.devze.com 2023-03-15 20:01 出处:网络
I migrated to Jboss AS jboss-6.0.0.开发者_Go百科Final and richfaces 3.3.3. In this version <rich:fileUpload/> is not working. The upload action is running for a long time which leads browser to

I migrated to Jboss AS jboss-6.0.0.开发者_Go百科Final and richfaces 3.3.3. In this version <rich:fileUpload/> is not working. The upload action is running for a long time which leads browser to throw a warning message. And also after selecting a file the other scripts in the page are not running. How to resolve this?


Try adding

<init-param>
        <param-name>createTempFiles</param-name>
        <param-value></param-value>
    </init-param>

To the Seam multipart filter in web.xml. Not sure why, but using the Seam setting in components.xml for this doesn't necessarily work as advertised. The param-value will be true/false based on how you're collecting the upload; as a file or as data.

0

精彩评论

暂无评论...
验证码 换一张
取 消