You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Reinhard Moosauer <rm...@moosauer.de> on 2003/12/17 16:04:36 UTC

Errorpage for Servlets

Hi,

Jean-Pierre Pelletier submitted this bug (already closed):

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25547
(default errorpage is displayed instead of the one forwarded to)

I am also using the technique he describes. (In Tomcat 4.1)
Seems like this will work no more in Tomcat 5

My question: Is there a portable way to use the same errorpage for servlets 
and JSPs? 

I can think of these solutions:

1. use another attribute instead of "javax.servlet.jsp.jspException" and get 
it back in the errorpage

2. Simply use "exception" as the attribute name.

thanks in advance for some tips,


Reinhard

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org