> Hi all,
>
> Is there a way to catch the Page Not Found exception in Tomcat when
> user did not typed in the correct page name?
Put this in your web.xml:
<error-page>
<error-code>404</error-code>
<location>/WEB-INF/404.jsp</location>
</error-page>
> I am trying to catch it and then redirect the user to my home page.
Replace /WEB-INF/404.jsp with whatever location you want to redirect to.
--
Asbjørn L. Johansen