문제

I am new with grails and am developing a web application with grails. I have installed springSecurity plugin for log in functionality. But the initial log in page is springSecurity provide is auth.gsp And i was edited this auth.gsp file with my own UI structure like

But I want to make this auth.gsp as the index page which is loading when the application starts. How can i redirect index.gsp into auth.gsp.

도움이 되었습니까?

해결책

Change

"/"(view: "/index")

to

"/"(controller: 'login')

in your UrlMappings.groovy

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top