JSF 2.0和多重提交问题 [英] JSF 2.0 and Multiple Submission problem
问题描述
是吗?
如果是,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屋!