Hi saurabh srivastav welcome to Javaranch, first you need to check the library paths in Eclipse so that they contain the servlet-api path. then you need to build your servlet (or the project) configure the web.xml for this application. then run the servlet
For more info refer detailed tutorials for Eclipse. Also I think this is a IDE question rather than a servlet one. So one of the bartenders will move it there, I guess.
Hope this helps . [ July 15, 2008: Message edited by: Amit Ghorpade ]