But there is something more strange ...
I noticed that I worked with an older version of J2EE. To have access to the new features from J2EE 1.4 and JSP2, I updated my environment with the last version provided by SUN (eg. 2005Q1 UR1). And now start the troubles ...
There is no way to access an error page while setting error management only in my web.xml (with <error-page>) . The application always fails with an HTTP 500 - internal server error!
While redirecting error with the "errorPage" attribute from the page directive, I can access my custom error page ... but only if this page is not set as an error page (using the "isErrorPage" attribute):
If isErrorPage is set to "false" or not specified, the error page is accessible and I can access the exception implicit object
If isErrorPage is set to "true", the application failed with an HTTP 500 - internal server error
I am really confused with that, because I follow the JSP2.0 specs, and that doesn't work at it MUST.
all helps are welcomed !
I tested that with the previous J2EE version (from june 2004), and still have the problem.
[ March 18, 2005: Message edited by: Pierre Schuffenecker ]