In our project we hacked FacesServlet, and when an exception occurs we show a error page with a nice gui with nice colors
to calm down the mad client :)
Your stack trace begins with FacesServlet.service , that's the place we hacked the servlet.
Regards,
Cagatay,
On 2/18/06, Dave <[EMAIL PROTECTED]
> wrote:
How to catch FacesException and display a nice message instead of stack trace on web page?javax.faces.FacesException: Cannot get value for _expression_ '#{bean.enabled}'
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
javax.faces.webapp.FacesServlet.service(FacesServlet.java :109)any way other than using filter to transform response?Thanks!
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.