aspose file tools*
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
Author

get confused with errors management

Pierre Schuffenecker
Greenhorn

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?

First:
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!)

second:
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
TIA
Pierre
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: get confused with errors management