CHAPTER 8: Play with Java and Scala 369
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
Figure 8-15. “Hello world”
When you click Submit Query, the user’s name is displayed based on the selection, as illustrated
in Figure 8 -1 7.