Home > Error Page > Tomcat Custom Error Messages

Tomcat Custom Error Messages

Contents

Browse other questions tagged tomcat or ask your own question. Doubly so if the majority of errors go to standard pages, and you only want selected servlets to use per-servlet pages. Recent Commentsadmin on What is ‘java.lang.OutOfMemoryError: GC overhead limit exceeded'?pankaj gupta on What is ‘java.lang.OutOfMemoryError: GC overhead limit exceeded'?Bernhard on How to send mail with JavaMail (SMTP/SMTPS/SSL)?Web application (WAR) deployment on Before Servlet 3.0 specification (Tomcat 7.0.x) you could define error page for either exception or response code using error-page element this way:   java.lang.Throwable