Java Reference
In-Depth Information
Figure 8-15.
“Hello world”
Play 2 provides some sample applications in the
samples
folder in
play-2.2.0\samples\java\
.
You can run the helloworld application, as illustrated in Figure
8-16
.
Figure 8-16.
The sample helloworld application provided by Play 2
When you click Submit Query, the user's name is displayed based on the selection, as illustrated
in Figure
8-17
.