如何下载 Java Servlet 文档并附上 Eclipse

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5675041/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:10:43  来源:igfitidea点击:

How can I download Java Servlet documentation and attach with eclipse

javaeclipsejspservletsjavadoc

提问by MD Sayem Ahmed

The question says it all. How can I download java servlet and/or jsp documentation and attach it with Eclipse?

问题说明了一切。如何下载 java servlet 和/或 jsp 文档并将其附加到 Eclipse 中?

I am using apache tomcat 6.0.32, by the way.

顺便说一下,我使用的是 apache tomcat 6.0.32。

回答by BalusC

Since you're using Tomcat, you need to download the Tomcat Source Code Distribution. Here is the Tomcat 6.0.32 source. Once downloaded, open a random Servlet API or Tomcat API specific file, e.g. Ctrl+Click or Ctrl+Shift+T HttpServlet, then click Attach source, then locate the zip file you just downloaded.

由于您使用的是 Tomcat,您需要下载Tomcat Source Code Distribution。这是Tomcat 6.0.32 源代码。下载后,打开一个随机的 Servlet API 或 Tomcat API 特定文件,例如 Ctrl+Click 或 Ctrl+Shift+T HttpServlet,然后单击Attach source,然后找到您刚刚下载的 zip 文件。

That's it.

就是这样。

回答by Mihai

Download from the Tomcat web page in section Source Code Distributionsthe zip file (not Binary Distributions). Then attach the source to this downloaded file.

从 Tomcat 网页的源代码分发部分下载zip 文件(不是二进制分发)。然后将源附加到这个下载的文件中。

enter image description hereenter image description here

在此处输入图片说明在此处输入图片说明

enter image description hereenter image description here

在此处输入图片说明在此处输入图片说明

回答by Jigar Joshi