I am a newbie on Spring framework and maybe this is an easy question.
I have a link as follows and attempt Spring controller handles the value"201610061023" of this link.However,my code did not work.
I know this value can be attached as a parameter or pathvariable in path but I just curious can I pass this value implicitly?
Thank you very much.
<a href="./Order" name="test">201610061023</a>
@RequestMapping(value = "/Order")
public String requestHandlingMethod(@ModelAttribute("test") String name, HttpServletRequest request) {
return "nextpage";
}