如何下载 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
How can I download Java Servlet documentation and attach with eclipse
提问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
回答by Jigar Joshi
- Click here
- Search for Java EE 6 API Update 2 Documentation, Click download button
- How to add javadoc in eclipse