文件上传组件不支持 TLS
我一直在使用 Primefaces 2.2.1 文件上传组件,但它似乎不适用于 SSL 或 TLS - HTTP 错误。我一直在尝试 RichFaces 文件上传组件,但我不知道是否可以将其与 Primefaces 集成。还有其他 JSF 组件可以与 SSL 一起使用吗?它会在下一个 Primefaces 版本中修复吗? 当我关注本教程时,我只是得到
<partial-response>
<changes>
<update id="javax.faces.ViewState">
<![CDATA[ -4529855290807263768:-3315128550281964003 ]]>
</update>
<extension primefacesCallbackParam="validationFailed">{"validationFailed":false}</extension>
</changes>
</partial-response>
响应。提交方法未触发。
I have been using Primefaces 2.2.1 file upload component, but it seems that it doesn't work with SSL or TLS - HTTP ERROR. I have been trying RichFaces File Upload component, but I dont Know if it is even possibile to integrate it with Primefaces. Is there any other JSF component I can use with SSL? It is going to be fixed in next Primefaces relase?
When I'm following this tutorial I'm just getting
<partial-response>
<changes>
<update id="javax.faces.ViewState">
<![CDATA[ -4529855290807263768:-3315128550281964003 ]]>
</update>
<extension primefacesCallbackParam="validationFailed">{"validationFailed":false}</extension>
</changes>
</partial-response>
as response. Submit method is not triggering.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也遇到了这个问题,尽管我使用了 primefaces upload componenet。
我修复了 bij 删除 enctype="multipart/form-data"
然后我没有再收到任何验证错误,希望它有帮助......
I also had this problem, although I used primefaces upload componenet.
I fixed it bij removing enctype="multipart/form-data"
then I didn't get any more validation errors, hope it helps...
这对于 Primefaces 2 来说是一个真正的问题...
现在,如果您使用新的 Primefaces 3.0.M4,您会对结果感到惊讶:使用 TLS 上传文件效果很好(经过测试),并且对我们来说不再有闪光。我讨厌闪光!
我知道当前版本只是测试版,但不知何故它比 Primefaces 2 好得多,而且距离 RC1 发布只有几天的时间了。
http://www.primefaces.org/showcase-labs/ui/fileUploadHome.jsf
This was a real problem for Primefaces 2...
Now, if you use the new Primefaces 3.0.M4 you will be surprised with the results: uploading files with TLS works just fine (tested), and no more flash for us. I hate flash!
I know that the current version it's just a beta one but it's somehow far better that Primefaces 2, and there are only a few days to wait until RC1 release.
http://www.primefaces.org/showcase-labs/ui/fileUploadHome.jsf