JSF 2.0和多重提交问题 [英] JSF 2.0 and Multiple Submission problem

查看:101
本文介绍了JSF 2.0和多重提交问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人告诉我,JSF 2.0自动处理多个提交问题。
是吗?
如果是,JSF 2.0如何做?
如果没有,什么是必须照顾的东西,以便在处理这个问题时不要留下任何陷阱?



谢谢。 p>

解决方案

这是由 JSF规范问题559 。目前尚不存在,但它是针对即将到来的JSF 2.2。



在此之前, Seam的< s:token> 是您的最佳解决方案,它不仅可以防止CSRF(根据),JSF 2.1不再严格必要JSF impl问题812 ),还可以双重提交。


Somebody told me that JSF 2.0 automatically handles multiple submission problem. Is that right? If yes, how does JSF 2.0 do that? If no, what are the things that must taken care of, so that you don't leave any pitfall while handling this problem?

Thanks.

解决方案

This is requested and maintained by JSF spec issue 559. As it currently stands, it's not there yet, but it is targeted for the upcoming JSF 2.2.

Until then, the Seam's <s:token> is your best solution which not only prevents CSRF (which is not strictly necessary anymore since JSF 2.1 as per JSF impl issue 812), but also double submits.

这篇关于JSF 2.0和多重提交问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆