开发者

Form Submission with Spring Annotation Controller

开发者 https://www.devze.com 2023-03-05 16:58 出处:网络
How to handle duplicate form submission in Spring annotation based controller? Regards, 开发者_StackOverflow社区RajIn controller, after processing users supplied data do redirect (instead of forward

How to handle duplicate form submission in Spring annotation based controller?

Regards,

开发者_StackOverflow社区

Raj


In controller, after processing users supplied data do redirect (instead of forwarding by default) to another page.

Like this:

return "redirect:success";

See also Post/Redirect/Get pattern on Wikipedia

0

精彩评论

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

关注公众号