Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

get confused with errors management  RSS feed

Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!