File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error-page in DD

 
Akhil Maharaj
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 114
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AnyOne Please explain Superclass SubClass relationship in the <exception-type.
Is it similar to exception catching in Java?
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember that it has been discussed in the past. Please look at this old thread
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic