Grails, Weblogic and redirection on root “/” seems not working

后端 未结 1 1813
醉话见心
醉话见心 2021-01-06 23:50

I configured my grails application with an root path like this (in UrlMapping):

\"/\"{
    controller=\"mycontroller\"
    action=\"myaction\"
 }

相关标签:
1条回答
  • 2021-01-07 00:41

    I found the solution here

    • I created a taglib.
    • I rename the mapping on "/" to "/redirect" in UrlMapping
    • I call the taglib in GSP.
    0 讨论(0)
提交回复
热议问题