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

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

15 Answers
15

Leave a Comment