Aside from the typo in "servlet," note that javax.servlet is in Java Enterprise Edition (EE), and not in the Standard Edition (SE). Have you installed the Enterprise Edition (or at least something like Tomcat that provides the servlet packages)?
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
Joined: Oct 16, 2006
I know that servlet is not under J2SE. I installed Tomcat 6.0 in my desktop. Do i need to add any jar files in Eclipse related to J2ee. If yes where in eclipse i need to add jar files.