I face problem while doing Servlet program. I successfully get .class file of Servlet's .java file, When I copy(deploy) the .class file in "servlets-example->WEB-INF->classes " folder& map in web.XML file , & run it does not run . When I check,in Tomcat's manager.HTML file , The running option for servlets-examples is turned false, It happens many times.What shall I do to recover?? Please answer me????

Showing Answers 1 - 1 of 1 Answers

hello abdul

u said that u deployed that .class file in the "servlets-example->WEB-INF->classes" folder and u map it in web.XML file, well it doesnt matter that whether u map it in web.XML file or not.Make sure that whether ur "servlets-example" folder is placed in the webapps directory or not?? if it is, to know better ur problem can u send me that .java file so that i can run it on my machine. 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.