Hi Everybody,
I am a new bee to
Java Web applications. I am using Java 1.6 and Tomcate 1.6 to run one small example to start with .I am facing a problem while trying to run my application . This is the directory i am following "C:\Program Files\Tomcat 6.0\webapps\Testing"
Testing Folder contains WEB-INF folder and this WEB-INF contains web.xml and classes folder. I am able to see
Tomcat home Page successfully ,and my application name is being listed with the lsit of default example applications. when i tried clicking on "Testing" . I am getting 404 Error. The thing is when i tried placing error-page tag in web.xml it is being redirected to respective page. Find below the piece of code in web.xml
<?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/web-app_2_4.xsd"
version="2.4">
<display-name>Testing</display-name>
<description>a basic application.</description>
<error-page>
<error-code>404</error-code>
<location>/indexing.html</location>
</error-page>
</web-app>
indexing.html is placed parallelly to WEB-INF.
Can any one help me What could be going wrong. i want see all the contents(jsps/htmls etc..) in "Testing" application.
Thanks in Advance ,