简体   繁体   English

如何在月食中附加Glassfish源

[英]How to attach Glassfish source in eclipse

I'm using Glassfish server for developing JavaEE web aplications in Eclipse oxygen. 我正在使用Glassfish服务器在Eclipse Oxy上开发JavaEE Web应用程序。 I would like to attach the source code for Glassfish to explore the APIs documentation. 我想附加Glassfish的源代码以探索API文档。

PS: The Java source part works fine, the web part is what I'm looking for. PS:Java源代码部分工作正常,而Web部分正是我想要的。 Since I'm novice, please go easy on me. 由于我是新手,因此请放轻松。

HttpServletRequest.class HttpServletRequest.class

img

  1. Download the source JAR of javax.servlet-api.jar version 4.0 下载 javax.servlet-api.jar版本4.0的源JAR
  2. In Eclipse click the Attache Source... button (which is also visible in your screenshot) and specify the location of the downloaded file. 在Eclipse中,单击Attache Source ...按钮(在屏幕快照中也可见),然后指定下载文件的位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM