the custom error page has been fixed by mapping the error 404 to error.jsp inside web.xml. to test it just enter enter an invalid url starting at the very least with http://localhost:8080/USS-Battleship-681/some_bad_url and you will see the magic :).