Hi!,
I have sucessfully installed Tomcat 5.5. ALl environment variables viz- CATALINA_HOME, JAVA_HOME etc.are correctly setup. I can run servlets and JSPs.
Below is my web.xml DD file:
--------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
<error-page>
<exception-type>java.lang.ArithmeticException</exception-type>
<location>/jsp/errors/arithmeticError.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/jsp/errors/notFoundError.jsp</location>
</error-page>
</web-app>
--------------------------------------------
The problem that I'm facing is that whenever i enter a wrong URL that doesnt exist I'm redirected to the default container 404 error page and not my custom page. Ranchers pls. help....
Regards,
Kunal
SCJP