Procházet zdrojové kódy

Fix links for u-view-templates

Greg Turnquist před 13 roky
rodič
revize
985257da90
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 2
    2
      README.ftl.md
  2. 2
    2
      README.md

+ 2
- 2
README.ftl.md Zobrazit soubor

95
 
95
 
96
 The implementation of the method body creates and returns a new `Greeting` object with `id` and `content` attributes based on the next value from the `counter`, and formats the given `name` by using the greeting `template`.
96
 The implementation of the method body creates and returns a new `Greeting` object with `id` and `content` attributes based on the next value from the `counter`, and formats the given `name` by using the greeting `template`.
97
 
97
 
98
-A key difference between a traditional MVC controller and the RESTful web service controller above is the way that the HTTP response body is created. Rather than relying on a view technology (such as [JSP][u-jsp]) to perform server-side rendering of the greeting data to HTML, this RESTful web service controller simply populates and returns a `Greeting` object. The object data will be written directly to the HTTP response as JSON.
98
+A key difference between a traditional MVC controller and the RESTful web service controller above is the way that the HTTP response body is created. Rather than relying on a [view technology][u-view-templates] to perform server-side rendering of the greeting data to HTML, this RESTful web service controller simply populates and returns a `Greeting` object. The object data will be written directly to the HTTP response as JSON.
99
 
99
 
100
 To accomplish this, the [`@ResponseBody`][] annotation on the `greeting()` method tells Spring MVC that it does not need to render the greeting object through a server-side view layer, but that instead that the greeting object returned _is_ the response body, and should be written out directly.
100
 To accomplish this, the [`@ResponseBody`][] annotation on the `greeting()` method tells Spring MVC that it does not need to render the greeting object through a server-side view layer, but that instead that the greeting object returned _is_ the response body, and should be written out directly.
101
 
101
 
155
 
155
 
156
 [u-rest]: /understanding/REST
156
 [u-rest]: /understanding/REST
157
 [u-json]: /understanding/JSON
157
 [u-json]: /understanding/JSON
158
-[u-jsp]: /understanding/JSP
158
+[u-view-templates]: /understanding/view-templates
159
 [jackson]: http://wiki.fasterxml.com/JacksonHome
159
 [jackson]: http://wiki.fasterxml.com/JacksonHome
160
 [u-war]: /understanding/WAR
160
 [u-war]: /understanding/WAR
161
 [u-tomcat]: /understanding/Tomcat
161
 [u-tomcat]: /understanding/Tomcat

+ 2
- 2
README.md Zobrazit soubor

220
 
220
 
221
 The implementation of the method body creates and returns a new `Greeting` object with `id` and `content` attributes based on the next value from the `counter`, and formats the given `name` by using the greeting `template`.
221
 The implementation of the method body creates and returns a new `Greeting` object with `id` and `content` attributes based on the next value from the `counter`, and formats the given `name` by using the greeting `template`.
222
 
222
 
223
-A key difference between a traditional MVC controller and the RESTful web service controller above is the way that the HTTP response body is created. Rather than relying on a view technology (such as [JSP][u-jsp]) to perform server-side rendering of the greeting data to HTML, this RESTful web service controller simply populates and returns a `Greeting` object. The object data will be written directly to the HTTP response as JSON.
223
+A key difference between a traditional MVC controller and the RESTful web service controller above is the way that the HTTP response body is created. Rather than relying on a [view technology][u-view-templates] to perform server-side rendering of the greeting data to HTML, this RESTful web service controller simply populates and returns a `Greeting` object. The object data will be written directly to the HTTP response as JSON.
224
 
224
 
225
 To accomplish this, the [`@ResponseBody`][] annotation on the `greeting()` method tells Spring MVC that it does not need to render the greeting object through a server-side view layer, but that instead that the greeting object returned _is_ the response body, and should be written out directly.
225
 To accomplish this, the [`@ResponseBody`][] annotation on the `greeting()` method tells Spring MVC that it does not need to render the greeting object through a server-side view layer, but that instead that the greeting object returned _is_ the response body, and should be written out directly.
226
 
226
 
335
 
335
 
336
 [u-rest]: /understanding/REST
336
 [u-rest]: /understanding/REST
337
 [u-json]: /understanding/JSON
337
 [u-json]: /understanding/JSON
338
-[u-jsp]: /understanding/JSP
338
+[u-view-templates]: /understanding/view-templates
339
 [jackson]: http://wiki.fasterxml.com/JacksonHome
339
 [jackson]: http://wiki.fasterxml.com/JacksonHome
340
 [u-war]: /understanding/WAR
340
 [u-war]: /understanding/WAR
341
 [u-tomcat]: /understanding/Tomcat
341
 [u-tomcat]: /understanding/Tomcat