所以我想在一定时间后打电话给某个gsp

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

最佳答案

您可以这样添加refresh:

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

09-05 16:33