diff --git a/src/asciidoc/web-mvc.adoc b/src/asciidoc/web-mvc.adoc index 89110d7fe6..6f38f56069 100644 --- a/src/asciidoc/web-mvc.adoc +++ b/src/asciidoc/web-mvc.adoc @@ -3176,7 +3176,7 @@ For example given: [subs="verbatim,quotes"] ---- @RequestMapping("/people/{id}/addresses") - public class MyController { + public class PersonAddressController { @RequestMapping("/{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" %> ... -Get Person +Get Address ---- The above example relies on the `mvcUrl` JSP function declared in the Spring tag library