Java Reference
In-Depth Information
Figure 8-14. Selecting the root directory
All the files necessary to configure an Eclipse project are generated. You saw how to create a project and
import it into your development environment. Now you will modify the application. In ,
change the content of the response in the index action, as illustrated in Listing 8-3.
Listing 8-3. Modifying the Index Action
public static Result index() {
return ok("Hello world");
The index action will now respond with “Hello world,” as illustrated in Figure 8-15 .
Search WWH ::

Custom Search