aspose 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
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: servlet as error-page
 
Similar Threads
Strange Problem with servlet output
jdbc
login in to a mysql database
servlet-jdbc - internal servlet error (error:500)
Why is the servlet not available?