I already have installed Java SDK following which, I later also Downloaded Java EE which was not automatically Installed in Eclipse. How do I import the Java EE libraries in Eclipse?
解决方案
Download and install/unpack your favorite Java EE container (for web applications use Tomcat)
Download and start the Java EE edition of Eclipse
In the Server panel create a new local server corresponding to the above Java EE container.
Create a new "Web -> Dynamic Web Project" using the server defined above. Set the "Servlet API level" to 2.4 or 2.5 depending on your needs.
The new project will have access to the appropriate Java EE libraries.