简体   繁体   中英

Attach source code to tomcat's servlet-api.jar in netbeans

I want to view the source code of javax.servlet package inside netbeans. My current view look like this .

在此处输入图像描述

I need to see the source code (not the documentation ) inside that Compiled Code area.

I've downloaded the full source code as a zip file from Apache Tomcat website . When I extract it I can see separate *.java files for every class.

Now I need to attach it to my Apache Tomcat 8.0 as I can see the code inside the netbeans so it's easier to navigate through the code.

在此处输入图像描述

How can I attach the full source code in NetBeans?

You can download the source apache-tomcat-8.0.27-src.zip in http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.27/src/ unzip the.zip file and then atach the source in your.jar files.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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