im using ubuntu 12.04 and ialready installed eclipse but i dont know how to run the servlet programs please give brief procedure to run the servlet program in eclipse.........
To run a Servlet in Eclipse you may required the Jar for compiling Servlet. So you may select the Jars of specified version of Servlet. Now in Eclipse you would have to keep the Jars inside your Eclipse. You can put the Jars in Eclipse in various ways. One of the simplest way is to put the Jars inside the WebContent -> WEB-INF -> lib folder. And one of the another ways is by building path in your project. Now you are able to write a Servlet in Eclipse. Since, Servlet receives the HTTP request and respond to corresponding request as HTTP response so to run a Servlet there should be a HTTP compatible browser and a WebServer/Application Server that is able to receive and response the HTTP request and response. So, you can select the available WebServer/Application Server such as, Apache's Tomcat, Sun's Glassfish etc. Configure your WebServer/Application Server inside the Eclipse and then you can deploy your Servlet.
For reading more in detail, you may go through the following link, may this will be helpful for you.
Here you will find the list of Servlet tutorial topics.