eclipse « Import « JSP-Servlet Q&A

1. How do I import the javax.servlet API in my Eclipse project?

I want to develop with Servlets in Eclipse, but it says that the package javax.servlet cannot be resolved. How can I add javax.servlet package to my Eclipse project?

2. Importing several individual files into an eclipse project

I have several files comprising a tomcat web application that I need to import into an eclipse project so that I can easily create an EAR file from them. I have changed ...