anchor.diff:  	}
   ----
   
  -and using the `MvcUriComponentsBuilder`, the previous example is now:
  +You can prepare a link by referring to the method by name:
   
   [source,java,indent=0]
   [subs="verbatim,quotes"]
   ----
   	UriComponents uriComponents = MvcUriComponentsBuilder
  -		.fromMethodName(BookingController.class, "getBooking",21).buildAndExpand(42);
  +		.fromMethodName(BookingController.class, "getBooking", 21).buildAndExpand(42);
   
   	URI uri = uriComponents.encode().toUri();
   ----
   
  -The `MvcUriComponentsBuilder` can also create "mock Controllers", thus enabling to create
  -URIs by coding against the actual Controller's API:
  +In the above example we provided actual method argument values, in this case the long value 21,
  +to be used as a path variable and inserted into the URL. Furthermore, we provided the
  +value 42 in order to fill in any remaining URI variables such as the "hotel" variable inherited
  +from the type-level request mapping. If the method had more arguments you can supply null for
  +arguments not needed for the URL. In general only `@PathVariable` and `@RequestParam` arguments
  +are relevant for constructing the URL.
  +
  +There are additional ways to use `MvcUriComponentsBuilder`. For example you can use a technique
  +akin to mock testing through proxies to avoid referring to the controller method by name
  +(the example assumes static import of `MvcUriComponentsBuilder.on`):
   
   [source,java,indent=0]
   [subs="verbatim,quotes"]
  
positive.code: [[mvc-links-to-controllers]]
  === Building URIs to Controllers and methods
  
  Spring MVC provides another mechanism for building and encoding URIs that link to
  Controllers and methods defined within an application.
  {javadoc-baseurl}/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.html[`MvcUriComponentsBuilder`]
  extends `UriComponentsBuilder` and provides such possibilities.
  
  Given this Controller:
  
  [source,java,indent=0]
  [subs="verbatim,quotes"]
  
negative.code: <a href="${s:mvcUrl(''PC#getPerson'').arg(0,''US'').buildAndExpand(''123'')}">Get Person</a>
  ----
  
  The above example relies on the `mvcUrl` JSP function declared in the Spring tag library
  (i.e. META-INF/spring.tld). For more advanced cases (e.g. a custom base URL as explained
  in the previous section), it is easy to define your own function, or use a custom tag file,
  in order to use a specific instance of `MvcUriComponentsBuilder` with a custom base URL.
  
  
  [[mvc-localeresolver]]
  