Java Reference
In-Depth Information
Figure 7-14.
Welcome screen of the bookstore application
Modify the code of
index(){}
, as illustrated in Listing 7-4.
Listing 7-4. Modifying the Index Action
def index() {
render "book list"
}
Now you can click the BookController link in Figure
7-14
, and you will get the simple textual
response illustrated in Figure
7-15
.