一定时间后调用另一个 gsp

Call another gsp after certain amount of time

所以我想在一定时间后调用某个gsp

   def index()
   {
           //code here
           //after 30secs
           redirect (action :"anothergsp")
   }

您可以像这样添加 refresh

<head>
    <meta http-equiv="refresh" content="30;url=/somewhere/else" />
    ....