orion_mjcl
2011-12-21 03:49:59 UTC
Hi everybody. I'm having a problem changing the default index page of my app.
I'm using the Spring Security plugin so I have a login view to enter the
credentials (username and password). I want this login view to be the
default view to be shown. I googled and I found that this change to the
UrlMappings class could solve my problem:
"/"(controller:'login', action:"/index")
When I ran my app once again and it seemed to work because the login view
was shown but after entering my credentials I got this message from my
Firefox browser:
Loading Image...
I'm sure I have to redirect "something" to "somewhere" but I don't know what
and where. I'm a Grails beginner and I'm completely lost about redirects and
url mappings.
Please help me.
Thanks in advance.
--
View this message in context: http://grails.1312388.n4.nabble.com/UrlMappings-The-page-isn-t-redirecting-properly-tp4220437p4220437.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I'm using the Spring Security plugin so I have a login view to enter the
credentials (username and password). I want this login view to be the
default view to be shown. I googled and I found that this change to the
UrlMappings class could solve my problem:
"/"(controller:'login', action:"/index")
When I ran my app once again and it seemed to work because the login view
was shown but after entering my credentials I got this message from my
Firefox browser:
Loading Image...
I'm sure I have to redirect "something" to "somewhere" but I don't know what
and where. I'm a Grails beginner and I'm completely lost about redirects and
url mappings.
Please help me.
Thanks in advance.
--
View this message in context: http://grails.1312388.n4.nabble.com/UrlMappings-The-page-isn-t-redirecting-properly-tp4220437p4220437.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email