So, I am running my grails application and the URL generated from the localhost is http://localhost:8888/appname/
When I enter the above link in the URL, I want it to be redirected to http://localhost:8888/appname/controller1/action1
This is my UrlMappings,
static mappings = {
"/"(controller: 'controller1', view: 'action1')
.
.
.
}
When I do this, I am not getting the desired output. The URL doesn't change. But, I am getting the page desired. However, certain elements of the page don't load (For example, I have a jqGrid).
Please help!