开发者

Spring mvc: what is the params separator

开发者 https://www.devze.com 2023-01-29 16:57 出处:网络
I was wondering what the seperator is for params (@ActionMapping(params =\"...\");) I\'d like to place a back button inside a form which already has a next button, and I\'ve read in the docs

I was wondering what the seperator is for params (@ActionMapping(params ="...");)

I'd like to place a back button inside a form which already has a next button, and I've read in the docs that I can do: myParam!=myValue to ignore things so I would like to do sonething like:

@ActionMapping(params="myAction=registerUser**SEPARATOR**nextParam!=previous"){}

@ActionMapping(开发者_如何学Pythonparams="nextParam=previous"){}


params is an array:

@ActionMapping(params = {"myAction=registerUser", "nextParam!=previous"})
0

精彩评论

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