• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

get confused with errors management

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic