| Author |
DD (web.xml) configuration problem
|
Kunal
Greenhorn
Joined: Jun 20, 2005
Posts: 4
|
|
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
|
 |
Radmika Arunachalam
Ranch Hand
Joined: Mar 29, 2004
Posts: 45
|
|
Hi, Check below topic.. http://www.coderanch.com/t/169786/java-Web-Component-SCWCD/certification/configuring-Error-Page looks like same topic like yours.. Thanks Radmika
|
 |
 |
|
|
subject: DD (web.xml) configuration problem
|
|
|