Hi there

4.0.4b2 appears to be a little erratic in serving up custom error pages that
are specified in web.xml. For instance I specify a page Failure.jsp to catch
java.lang.Exception as such

<error-page>
  <exception-type>java.lang.Exception</exception-type>
  <location>/Failure.jsp</location>
</error-page>

I then throw a RuntimeException in one of my Struts action classes.
Sometimes it works and I get Failure.jsp. Sometimes I just get the default
"Apache Tomcat/4.0.4-b2 - HTTP Status 500" message.

I'm using jdk1.4.0 on a Win2K Server. Anyone know what I'm doing wrong (if
anything)??

cheers

Rory Douglas
Sun Chemical Corporation
(201) 224-4600 x178
[EMAIL PROTECTED]

Reply via email to