This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
John Golap
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 440
Eclipse IDE Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
John Golap
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic