You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by GF <ga...@gmail.com> on 2007/12/27 14:51:10 UTC

default 500 error page by tomcat

Hello,
when some of my Java application raises an uncatched exception, I got
a "error 500" page generated by Tomcat that show me exception
stacktrace and things like that.
I know that i can customize it setting error-page parameter in the web.xml.

But I want to know where to find the "source code" of that error 500
page that tomcat automatically generates. I think that's too a .jsp
page.
Where can I find its source?

Thanks.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: default 500 error page by tomcat

Posted by GF <ga...@gmail.com>.
Thanks.
It's what I was looking for.

> It isn't a JSP. It is generated by an internal Tomcat component (a Valve).
>
> > Where can I find its source?
> http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java?revision=543307&view=markup
>
> HTH,
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: default 500 error page by tomcat

Posted by Mark Thomas <ma...@apache.org>.
GF wrote:
> But I want to know where to find the "source code" of that error 500
> page that tomcat automatically generates. I think that's too a .jsp
> page.

It isn't a JSP. It is generated by an internal Tomcat component (a Valve).

> Where can I find its source?
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java?revision=543307&view=markup

HTH,

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org