Hi,
whenever u r going to run any servlet first u should place that class file in WEB-INF\classes folder irrespective of server this is the common tree in every server. We will register the servlet class name in web.xml file, there servlet container searched for realted class file in classes folder and their respective package folder like this container knows the servlet class file.