Steps to create a custom 404, 500 error pages.
Default Tomcat 404 error page
My custom 404 error page. Button takes me to the login page.
1) Open AwareIM/Tomcat/conf/web.xml using any text editor.
2) Down the bottom of the page after </welcome-file-list> insert
3) Create your own HTML 404 page, name it 404.html and save it in your c:/AwareIM/Tomcat/webapps/AwareIM/ folder and any images or CSS used.
4) To test it, type http://localhost:8080/AwareIM/logonOp.aww in the browser
http://localhost:8080/AwareIM/logonOp.aww
For error 500:
Here's a link to some creative error 404 pages
http://www.hongkiat.com/blog/60-really-cool-and-creative-error-404-pages/
Cheers