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