是否可以在控制器之間多次重定向響應?如果我嘗試篩選我做一個重定向,我得到這個異常的方法後重定向控制器內,然後響應:在Grails中多次重定向響應
ERROR errors.GrailsExceptionResolver - CannotRedirectException occurred when processing request: [GET] /ac/customer/index
Cannot issue a redirect(..) here. A previous call to redirect(..) has already redirected the response.. Stacktrace follows:
Message: Cannot issue a redirect(..) here. A previous call to redirect(..) has already redirected the response.
有沒有解決這個任何其他方式?