Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

write a servlet class in Eclipse IDE

 
bablu srivastav
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please let me know how to write servlet class in Eclipse IDE as i am not able to import servlet packages in Eclipse
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34422
347
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bablu,
Right click the project and select properties. There you can add the jar containing those classes to the project build path.

The jar containing the servlet classes came with your server (Tomcat, JBoss, etc) and is called servlet.jar or j2ee.jar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic