aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt on error-page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "Doubt on error-page" Watch "Doubt on error-page" New topic
Author

Doubt on error-page

Vepa Sritej
Ranch Hand

Joined: Jul 31, 2006
Posts: 42
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..


tej<br /> <br />SCJP 1.5 --75%<br />SCWCD --89%<br />SCBCD/Web Services!! Yet to Decide
Vepa Sritej
Ranch Hand

Joined: Jul 31, 2006
Posts: 42
Could anyone please answer my question as need to take my exam soon.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

The XML schema states that the exception-type contains a fully qualified class name of a Java exception type.


[My Blog]
All roads lead to JavaRanch
naresh govindaswmay
Ranch Hand

Joined: Aug 15, 2007
Posts: 90
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


Thanks and Regards<br />Naresh govindaswamy
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Doubt on error-page
 
Similar Threads
doubt
Exception doubt
doubt!!
Doubt on RequestDispatcher
doubt in session