my dog learned polymorphism*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 14074

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 7 API documentation
Scala Notes - My blog about Scala
wood burning stoves
subject: Error page for unhandld error
Similar Threads
Display Error Page in JSP
Redirect to a page in portlet doView
Customised Error Page Not shown
customized error page in struts
Handling response.redirect errors in JSP page