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

servlet as error-page

Peter van de Riet
Ranch Hand

Joined: Apr 09, 2004
Posts: 112

I have tried to create a error-page servlet and I can't get it working properly.
This is my doGet() method:




And this is a part of my web.xml file:



When an SQL-error occurs, it seems like Tomcat can't find the servlet. The message in the log-file is:



When I remove the error-page tag then a standard error-page (including the nested SQLException) is shown.


Each number system has exactly 10 different digits.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet as error-page