Knowledgebase: Java/JSP Hosting Plans
Is there a way to have direct access to the error pages (404 etc)?
Posted by Customer Service on 21 June 2005 02:59 PM

You can define your own custom error pages in your web.xml file. In the example shown below, we define 2 web pages -- server_error.html and file_not_found.html -- which will be displayed when the server encounters an error 500 or an error 404 respectively.

 
500
/server_error.html
404
/file_not_found.html
(696 vote(s))
Helpful
Not helpful

Comments (0)