File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic