15. Grails Directory Structure Application name Additional JARs Web application Grail source
16. Netbeans Grails Project Structure Project name Grail source Additional JARs Web application
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29. grails controller class Item Controller { def index = { redirect(action:list,params:params) } def list = { if(!params.max) params.max = 10 [ itemInstanceList: Item.list ( params ) ] } def show = {... returns an ArrayList of item objects retrieved from the item database table itemInstanceList variable is made available to the view