Display struts2 source code and Doc documentation and Automatic completion functions in myeclipse

Source: Internet
Author: User

Display struts2 source code and Doc documentation and Automatic completion functions in myeclipse

Display struts source code in myeclipse
------- Right-click/webappname/webroot/WEB-INF/lib/struts2-core-2.1.8.1.jar
------- Propertes
------- Java source attachment
------- External Folder
Select Directory: D:/Struts-2.1.8.1/src/CORE/src/main/Java

Display struts doc in myeclipse
------- Right-click/struts2_01/webroot/WEB-INF/lib/struts2-core-2.1.8.1.jar
------- Propertes
------- Javadoc location
------- Javadoc URL
------- Browser
Select Directory: file:/D:/Struts-2.1.8.1/docs/struts2-core/apidocs/

Added the Automatic completion function for the Struts. xml file (however, you no longer need to configure this in myeclipse8.0, which comes with the XML standard in struts)

------- First in the struts folder in the Lib package in the struts2-core-2.1.8.1.jar decompress open, which has a struts-2.0.dtd File
------- Struts. xml file header: http://struts.apache.org/dtds/struts-2.0.dtd
------- Window
------- Preferences
------- Search for XML catalog
------- Add
------- Add the address of the struts-2.0.dtd to location, select URI from key type, and add http://struts.apache.org/dtds/struts-2.0.dtd to key

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.