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