Hi Akshatha,
I encountered this 404 problem while installing tomcat 5.0.28. I realized that I didn't uncomment <servlet> and <servlet-mapping> for the invoker in conf/web.xml.
Basically, this is what I've done:
----------------------------------
1) SET CATALINA_HOME=c:\tomcat-5.0.28
2) Set the CLASSPATH=c:\tomcat-5.0.28\common\lib\servlet-api.jar
3) Set PATH=c:\tomcat-5.0.28\bin
4) Modify conf/server.xml by adding <DefaultContext reloadable="true" />
5) Modify conf/web.xml by uncommenting <server> and <server-mapping> for invoker
6) Reboot the system or manually run the autoexec.bat
7) Try out this:
http://localhost:8080/servlets-examples/ You can refer to step 4 and 5
here and
here. Joyce
[ October 01, 2004: Message edited by: Joyce Lee ]