tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Cronin <>
Subject exception null on error page for missing taglib def
Date Tue, 10 Jun 2003 17:43:06 GMT
I'm not sure if this is a bug or I'm not handling the right error.

I got an error page defined in my web.xml as follows


I had removed a taglib definition from my web.xml file 
and had a page that still was using the tag.

with out the error-page def I get the standard error 500 page
with the following exception
org.apache.jasper.JasperException: File "/tags/struts-logic" not found

but with my error page I get a null for the exception.
other errors show up ok on my error page.

in looking at the attributes being passed to the error page

when error is not null the following attributes are set

but for the taglib error only the following is set

also looking at the Java code for the error page It has the following

Throwable exception = (Throwable)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message