File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3176,7 +3176,7 @@ For example given:
3176
3176
[subs="verbatim,quotes"]
3177
3177
----
3178
3178
@RequestMapping("/people/{id}/addresses")
3179
- public class MyController {
3179
+ public class PersonAddressController {
3180
3180
3181
3181
@RequestMapping("/{country}")
3182
3182
public HttpEntity getAddress(@PathVariable String country) { ... }
@@ -3190,7 +3190,7 @@ You can prepare a link from a JSP as follows:
3190
3190
----
3191
3191
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
3192
3192
...
3193
- <a href="${s:mvcUrl(''PC#getPerson '').arg(0,''US'').buildAndExpand(''123'')}">Get Person </a>
3193
+ <a href="${s:mvcUrl(''PAC#getAddress '').arg(0,''US'').buildAndExpand(''123'')}">Get Address </a>
3194
3194
----
3195
3195
3196
3196
The above example relies on the `mvcUrl` JSP function declared in the Spring tag library
You can’t perform that action at this time.
0 commit comments