In order to run servlet and jsp files within eclipse , you are provided with a internal browser and a tomcat plugin , that makes developing and testing easier.
The simple procedure to install the plugin and configure it to run servlets are given in the following link.
click here for more informations.