嗨,我正在尝试使用重定向,redirect(uri: "/errors/handle500")
但出现以下异常
Cannot issue a redirect(..) here. A previous call to redirect(..) has already redirected the response.. Stacktrace follows:
org.codehaus.groovy.grails.web.servlet.mvc.exceptions.CannotRedirectException: Cannot issue a redirect(..) here. A previous call to redirect(..) has already redirected the response.
at com.cisco.rms.ErrorsController$_closure1.doCall(ErrorsController.groovy:8)
2012-10-03 18:05:53,414 [http-bio-8080-exec-7] ERROR errors.GrailsExceptionResolver - CannotRedirectException occurred when processing request: [GET] /rmsportal/changeRequest/listJSONFromService
谁能告诉我为什么它没有重定向。