File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes get confused with errors management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "get confused with errors management" Watch "get confused with errors management" New topic

get confused with errors management

Pierre Schuffenecker

Joined: Mar 11, 2005
Posts: 13
Hi everybody.

I hope that someone could help me on that.
I really have some strange things while working with the page directive attribute "isErrorPage" and the the <error-page> tag in my DD file.

I am currently working with the last version of the Sun Java System Application Server environment (2005Q1 UR1). Maybe doe the problems come from that?

while setting the page directive attribute "isErrorPage" to "true" (on my errorPage) and adding in a (bad coded) page the page directive attribute "errorPage" to access it (eg. my errorPage), I always have an "HTTP 500 internal server error".
But, if isErrorPage = false (or is not added), everything is fine. I correctly access my error page ... and I can access the excetion implicit object!
(looking at the JSP2.0 spec ... there is something wrong!)

If I use the DD file to set up error pages, I always have the "HTTP 500 internal server error" while accessing the error page.

Nota: my error page is correct. Everything is OK when I try to access it directly. I only have an issue when a runtime error occurs and the system tries to access my error page.

All comments are welcomed
I agree. Here's the link:
subject: get confused with errors management
jQuery in Action, 3rd edition