Grails: Redirect to index.gsp that is not in any controller

后端 未结 1 1742
隐瞒了意图╮
隐瞒了意图╮ 2021-02-13 01:15

In Grails, how do I redirect to my home page (index.gsp) which is not part of any controller?

相关标签:
1条回答
  • 2021-02-13 02:05

    You can do a redirect to '/' like this:

    redirect(uri:'/')
    
    0 讨论(0)
提交回复
热议问题