Recall, however, that forwarding through a request dispatcher is implemented on the server side, while redirects are performed by the browser.
不过请回忆一下:通过请求分派器进行转发是在服务器端实现的,而重定向却是由浏览器来执行的。
Because the error page is displayed after a request-dispatcher forward, the FacesContext is no longer in scope and it is therefore too late to do any business logic.
由于错误页面是在请求分发器转发之后显示的,FacesContext不再在作用域中,因此这时执行业务逻辑就太迟了。
应用推荐