📜  在 grails 中重定向 - Groovy 代码示例

📅  最后修改于: 2022-03-11 15:01:05.140000             🧑  作者: Mango

代码示例2
class TestController {
   def firstAction() {
      redirect(action: "secondAction")
   }    
   def secondAction() {
      render "You were redirected from firstAction to secondAction"
   }
}