See the source code and documentation in the Eclipse project

Source: Internet
Author: User

Eclipse Project See source

1. New Project list

2, enter the Struts2-core-2.3.20.jar, double-click, can not see the source code

3, right button Struts2-core-2.3.20.jar, choose Properties, in the inside set source path .

My path is: E:\struts-2.3.20\Src\core\src\main\java

4, after viewing, the source came out .

5. Precautions:

If you can not see in the Struts-2.3.20-all.zip unpacking package, you may go to the official website to download a new source package, choose this struts-2.3.20-src.zip unpacking path, you can see.

6. Use :

After programming, use the shortcut key Ctrl + left mouse button , will become a blue hyperlink form, so click can directly see the source of this class.

See documents in Eclipse project

1, still right button Struts2-core-2.3.20.jar, choose Javadoc location.

2, set the path.

In this path: Struts-2.3.20\docs\struts2-core\apidocs.

3, a new class test, the mouse double-click the String class, and then press F1 on the keyboard, the right view of the document will appear.

4. Select this:

The API documentation is out.

The source code and API documentation are now available for viewing.

See the source code and documentation in the Eclipse project

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.