Java Reference
In-Depth Information
This will start an embedded server on port 8080 that hosts your application. You should now be able
Figure
7-3
.
Figure 7-3.
Welcome screen of Grails
This is the Grails introduction page that is rendered by the
grails-app/view/index.gsp
file. It detects
the presence of your controllers and provides links to them. Click the HelloController link to see our
custom page containing the text “Hello World.” You have your first working Grails application.
Note
In Figure
7-3
there is a link to the Dbdoc controller. Clicking this link will produce an error message,
as the controller is not implemented. The purpose of the
DbdocController
is to generate static HTML
files to view change log information. You can enable it from conf/Config.groovy by setting
dbDocController.enabled = true