File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Error page for unhandld error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error page for unhandld error" Watch "Error page for unhandld error" New topic

Error page for unhandld error

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
I want that whenever error occurs which i not catch then instead of showing
message from tomcat that this java.sql.sqlexception occurs i want to show my custom page.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15082

See this: JavaServer Pages (JSP) Error Pages and Preventing Repeated Operations
[ October 25, 2007: Message edited by: Jesper Young ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: Error page for unhandld error
It's not a secret anymore!