November 17, 2008

Tomcat Servlet 2.4 simple 404 Page

So i moved one of my sites from to Servlet/JSP pages and had a need to make sure all my request for my old pages do not get lost.

Here is my simple 404 salution.

create a web.xml (if you don't have one) in WEB-INF.

<web-app xmlns:xsi="" xmlns="" xsi:schemaLocation="" version="2.4">