What is the configuration setting for modifying the default homepage in a Grails application to no longer be appName/index.gsp? Of course you can set that page to be a redirect but there must be a better way.
+2
A:
HTH - not a Grails developer but run across that link while looking for something else.
KiwiBastard
2008-08-26 12:22:43
A:
Edit UrlMappings.groovy
Add for example add this rule, to handle the root with a HomeController.
"/"(controller:'home')
dahernan
2008-09-15 09:57:39
+2
A:
Add this in UrlMappings.groovy
"/" { controller = "yourController" action = "yourAction" }
By configuring the URLMappings this way, the home-page of the app will be yourWebApp/yourController/yourAction.
(cut/pasted from IntelliGrape Blog)
Bob Herrmann
2008-09-15 12:24:42