wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Where is the default error folder in a linux Tomcat 7 installation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Where is the default error folder in a linux Tomcat 7 installation?" Watch "Where is the default error folder in a linux Tomcat 7 installation?" New topic
Author

Where is the default error folder in a linux Tomcat 7 installation?

John Golap
Greenhorn

Joined: Feb 26, 2013
Posts: 7
Hello

I want to manually change the 404 page in a default linux Tomcat 7 installation but I cannot find the errors folder. Where is it?
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

Hello John Golap,

There is no errors folder in any tomcat directory . You can however specify a default error page for the tomcat server. You specify it in the $CATALINA_HOME/conf/web.xml file as follows



Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
John Golap
Greenhorn

Joined: Feb 26, 2013
Posts: 7
Saif Asif wrote:Hello John Golap,

There is no errors folder in any tomcat directory . You can however specify a default error page for the tomcat server. You specify it in the $CATALINA_HOME/conf/web.xml file as follows


Where is the page that is shown by default when a 404 occurs in Tomcat? That code has to be somewhere...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Where is the default error folder in a linux Tomcat 7 installation?
 
Similar Threads
Unable to access my application in Tomcat 6
How to deploy a WAR file/EAR file on websphere ?
JDBC Exception in JNDI lookup
WebappClassLoader Error when deploying on Tomcat
Installation Guide (Tomcat on Linux)