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:
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
31963196The 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