84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
这2种区别在那
人生最曼妙的风景,竟是内心的淡定与从容!
Parameter location, form data is in the HTTP body, and the one in the URL is called query param
I don’t know what MVC framework the poster is using. Different frameworks have different annotations, and their meanings are also different.
looks
@FormParamis for Jersey (JAX-RS)@FormParam是 Jersey(JAX-RS) 的
@FormParam
@RequestParam
1.@FormParam is a form parameter, which is similar to the data transmitted by the form form in the HTML page.2. What is @RequestParam? The parameters after are the parameters that follow the URL.
Parameter location, form data is in the HTTP body, and the one in the URL is called query param
I don’t know what MVC framework the poster is using. Different frameworks have different annotations, and their meanings are also different.
looks
@FormParam
is for Jersey (JAX-RS)@FormParam
是 Jersey(JAX-RS) 的@RequestParam
@RequestParam
is SpringMVC’s1.@FormParam is a form parameter, which is similar to the data transmitted by the form form in the HTML page.
2. What is @RequestParam? The parameters after are the parameters that follow the URL.