Skip to content

Commit d686f61

Browse files
committed
Fix typo in reference
Issue: SPR-13043
1 parent 90d5428 commit d686f61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/asciidoc/web-mvc.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3176,7 +3176,7 @@ For example given:
31763176
[subs="verbatim,quotes"]
31773177
----
31783178
@RequestMapping("/people/{id}/addresses")
3179-
public class MyController {
3179+
public class PersonAddressController {
31803180
31813181
@RequestMapping("/{country}")
31823182
public HttpEntity getAddress(@PathVariable String country) { ... }
@@ -3190,7 +3190,7 @@ You can prepare a link from a JSP as follows:
31903190
----
31913191
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
31923192
...
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>
31943194
----
31953195

31963196
The above example relies on the `mvcUrl` JSP function declared in the Spring tag library

0 commit comments

Comments
 (0)