开发者

Spring IsFormSubmission with Annotations

开发者 https://www.devze.com 2023-03-06 12:18 出处:网络
How to handle isFormSubmission with Spring annotations, is there any annotatio开发者_如何学Cn available to block duplicate submission?No, there isn\'t. And you can\'t detect it with isFormSubmission()

How to handle isFormSubmission with Spring annotations, is there any annotatio开发者_如何学Cn available to block duplicate submission?


No, there isn't. And you can't detect it with isFormSubmission() - it will tell you only of the request is using POST or not.

You can use client-side code to disable duplicate submission (disable the submit button when it's pressed)

0

精彩评论

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