I wanted to add what might be very relevant information for projects using maven and eclipse / wtp. What I did to attach the Javadocs was the next two steps.
1) I use glass fish, so using the glass fish plugin site I installed the java ee 6 (or 7) documentation. You can easily browse this documentation with help → Java EE 6 docs. I copied the URL here.
2) He opened the path to creating my projects and switched to the libraries tab. Opened Maven Dependencies and found the java ee 6 api entry (this should be part of the maven project). Opened this and was able to add space for javadocs for api. I pasted the file: /// url which I copied.
Then I checked that this worked with the ctrl + shift + mouse mouse cursor on some java ee 6 classes and methods.
I hope that this information will be useful to others who searched and got here, but did not find the solution they were looking for (or for those who are now using Maven!).
source share