Learn Java for Web Development

(Tina Meador) #1
CHAPTER 7: Rapid Web Development with Grails 313

The output of executing the run-app target is shown here:


Server running. Browse to http://localhost:8080/bookstore


Accessing the application at the url http://localhost:8080/bookstore displays the Welcome
screen as illustrated in Figure 7-11.


Figure 7-11. The Welcome screen of the bookstore application


To run the application in GGTS, click Grails Command History, as highlighted in Figure 7-12. Type
run-app in the command window, and hit Enter. Or you can also right-click the project in the IDE
and select Run As ➤ Grails (run app).

Free download pdf