I have created a servlet in java(jsp), compiled it bt m unable to run it..it is does as :- http://host//Servlet/ServletName
But if m workinh locally on my pc,what host should I b mentioning?

Please refrain from using chat speak, it does not sound professional and also is against the forum rules.

Have you added the mapping to that specific Servlet in the deployment descriptor (web.xml). Also where have you placed the class files. I hope you have followed the standard approach in web applications.

You can check out this simple tutorial here which covers all those points.

Also I hope you at least have a working installation of Tomcat on your system.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.