File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes error-page in DD 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 "error-page in DD" Watch "error-page in DD" New topic

error-page in DD

Akhil Maharaj
Ranch Hand

Joined: Sep 29, 2007
Posts: 63
All ,

When I have

everything works ok . When ArithmeticException is genereated in my Test.jsp , The response is coming from ArithmeticExceptionGenrerated.jsp

But if I put both of the following in DD , i always get the response from
ExceptionGenrerated.jsp . This is happening even in the case of ArithmeticExceptions . THis is not What I expected for ArithmeticExceptions ( Refer HFS&JSP by page 460 B&K&B)

I am using TomCat 6.0.14
Prasad Shindikar
Ranch Hand

Joined: Feb 18, 2007
Posts: 114
i have faced the same problem..
is it like <exception-type>java.lang.Throwable</exception-type> is a catch-all defined in the DD ?
James Mark
Ranch Hand

Joined: Jul 05, 2007
Posts: 115
AnyOne Please explain Superclass SubClass relationship in the <exception-type.
Is it similar to exception catching in Java?

SCJP1.4(96%) SCWCD1.4(92%)
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

I remember that it has been discussed in the past. Please look at this old thread

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: error-page in DD
jQuery in Action, 3rd edition