You will need to find your documentation and server JAR server, and then add the JAR to the installed JRE and attach the documentation. This answer assumes that you have already installed your server and integrated it into Eclipse.
Documentation
You can link documentation in several ways:
, , .
Servlet JAR
JAR . JAR , . :
- Tomcat:
lib/servlet-api.jar - Glassfish:
modules/javax.servlet-api.jar
. , , JAR.
JAR JRE Eclipse
JRE :
- Eclipse
Window, Preferences. jre, Installed JREs.Java , jre7.
:
- Edit.
JRE system libraries Add External JARs....- JAR Open. .
JAR Javadoc Location.... .
- , Javadoc URL ( ).
Javadoc location path Browse , , package-list index.html.
JAR ZIP
- , Javadoc in archive.
Archive path Browse (, /home/docs/jdk-6-doc.zip).Path within archive Browse , package-list index.html (, docs/api).
- Validate, , .
- OK, Finish , , OK.
- , Eclipse. =)