First I appologize for sending the last post to early :-P
All,
Many many
problems.
First, what i wanted to do. . .
I wrapped myfaces FacesServlet( as it is final ) because I wanted to trap the error and email the admin once an error has occured with the stack trace.
Once I email I just wrap the
exception in a ServletException and throw it.
The code looks like the following:
public void
service(ServletRequest request, ServletResponse response) throws
ServletException, IOException
{
try
{
FACES_SERVLET.service(
request, response );
}
catch( Throwable t
)
{
//email
//wrap and throw
}
}
I also have the following in
web.xml (there is also a 404):
<error-page>
<error-code>500</error-code>
<location>/grantiumError.jsf</location>
</error-page>
The
problem seems to be that the error page is not rendering. Even if I remove
my Servlet and use the Faces servlet I do not see my error page. What I
see seems to be the output of the page that the error occured
within. I am at my wits end here. It seems to be taking more
effort than I should have to do. Note that we are using
org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl
to render struts tiles.
Any
help would be greatly appreciated.

