Java Reference
In-Depth Information
Variable
Represents
Notes
out
response.getWriter()
sout
response.getOutputStream()
html
new MarkupBuilder(out)
The previous example used only the
params
variable. Now I'll discuss a slightly more
elaborate example, which was used in the Groovy Baseball application first presented in
The following listing shows the complete source.
Listing 10.8. The
GameService
groovlet from the Groovy Baseball application