Fix typo in reference

Issue: SPR-13043
master
Rossen Stoyanchev 9 years ago
parent 90d54285d2
commit d686f615f6
  1. 4
      src/asciidoc/web-mvc.adoc

@ -3176,7 +3176,7 @@ For example given:
[subs="verbatim,quotes"] [subs="verbatim,quotes"]
---- ----
@RequestMapping("/people/{id}/addresses") @RequestMapping("/people/{id}/addresses")
public class MyController { public class PersonAddressController {
@RequestMapping("/{country}") @RequestMapping("/{country}")
public HttpEntity getAddress(@PathVariable String country) { ... } public HttpEntity getAddress(@PathVariable String country) { ... }
@ -3190,7 +3190,7 @@ You can prepare a link from a JSP as follows:
---- ----
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
... ...
<a href="${s:mvcUrl(''PC#getPerson'').arg(0,''US'').buildAndExpand(''123'')}">Get Person</a> <a href="${s:mvcUrl(''PAC#getAddress'').arg(0,''US'').buildAndExpand(''123'')}">Get Address</a>
---- ----
The above example relies on the `mvcUrl` JSP function declared in the Spring tag library The above example relies on the `mvcUrl` JSP function declared in the Spring tag library

Loading…
Cancel
Save