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

Doubt on error-page  RSS feed

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ranchers,

I have a doubt on the usage of <error-page> tag.

Can anyone explain in detail when exactly will an error-page be called? Will it be called for all exceptions or for only the exceptions that extend ServletException or IOException. While I was doing some mock tests i have encountered few questions related to when the error-page will be called. Please help..
 
Vepa Sritej
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anyone please answer my question as need to take my exam soon.
 
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The XML schema states that the exception-type contains a fully qualified class name of a Java exception type.
 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
when ever your specific finds an exception that error page is called up.it is not specific to servletException or IOException.

Ragards
Naresh govindaswamy
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!