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
Where are your web pages (jsp,html) for your application located? It's a good idea to have an index.jsp as your welcome page. You can specify your welcome page in the web.xml for your application.
Charles Owen : "Where are your web pages (jsp,html) for your application located? It's a good idea to have an index.jsp as your welcome page. You can specify your welcome page in the web.xml for your application. "
i am getting 404 Status Error upon click on "Testing" application link in Tomcat Home Page. I tried wiht your idea. But it did not work !!!
Can anyone help me out please.
Thanks In Advance,
Hareendranath Babu Kotha
Ranch Hand
Joined: May 22, 2006
Posts: 40
posted
0
Charles Owen : "Where are your web pages (jsp,html) for your application located? It's a good idea to have an index.jsp as your welcome page. You can specify your welcome page in the web.xml for your application. "
Thanks Now it is working with out getting 404 error with welcome page option. i did not kept relative path properly last time.
My question is cant i proceed with out mentioning the welcome page ?
banghead:
Thanks in advane :
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: 404 Error while trying to run my application in Tomcat 1.6