HI SIR/MADAM, THIS IS KIRAN KUMAR.K (B.TECH(INFORMATION TECHNOLOGY) ).I AM DOING A PROJECT WHICH NEEDS THE SERVLETS TO BE INCLUDED IN THAT PROJECT.BUT WHEN I AM REQUESTING THE FILE FROM THE TOMCAT(ie http://localhost:8080/my working directory/my file name)
Regarding this please help me on this what steps i need to take to run servlets on tomcat 6.0: what i done is: 1. first i installed J2SE1.4.2_17 and then updated with J2SE update 6. 2.then i installed the tomcat 6.0 it is working ie i am getting the tomcat home page. 3.i installed tomcat on windows the path is C:\Program Files\Apache Software Foundation\Tomcat 6.0. 4.then i created the my folder named as servlet under the webapps directory ie C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\servlets ie servlets is my folder name of the project 5.under this servlets directory again i created WEB-INF folder in that again i created classes folder and copied the web.xml file (which resides in the webapps directory ie C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\examples\WEB_INF folder) to the WEB-INF folder 6.i changed the servlet-name & servlet-mapping tags in the web.xml file 7.then i placed the compiled class file in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\servlet\WEB-INF\classes folder. 8.after this i am requesting my file from the http://localhost:8080/servlet/my file name 9.then it is prompting an error like /servlet/my file name is not found. PLEASE HELP ME ON THIS TOPIC.AND PLEASE SEND ME THE DETAILED STEPS NEEDED TO RUN SERVLETS ON TOMCAT 6.0. PLEASE SEND THE STEP WISE ACTIONS TO RUN SERVLETS.BECAUSE I AM NEW TO TOMCAT 6.0 THANKING YOU