I. Download the framework
1.1 struts2 framework
The struts2 framework is developed in webwork and is now donated to the Apache open-source organization. The latest version of the struts2 framework can be obtained from the struts2 project on the Apache official website. The project Homepage Address of the struts2 framework is: http://struts.apache.org/, download page address:Http://struts.apache.org/download.cgi
, Open it and select the latest version. If you are a newbie, download the full distribution version. For example:Http://struts.apache.org/download.cgi#struts2014In struts-2.0.14-full.zip.
To enable struts2 to support returned data in JSON format, you also need to download the JSON plug-in, which is
Http://code.google.com/p/jsonplugin/, The downloaded file isJsonplugin-0.31.jarFile.
1.2 spring2.5 framework
Official Spring framework website address:Http://www.springframework.org/, The download page is:Http://www.springsource.org/downloadOpen the download page and select get
The release packages in the latest spring releases here are downloaded and used. Note that there are many frameworks in the official spring website, including process processing, security, web services, and many other frameworks, the framework we need to download is a version of Spring framework, not other frameworks.
1.3 ibatis framework
The home page of the ibatis framework isHttp://ibatis.apache.org/, Select
Select the for Java connection in get software on the left, and select download connection in the open interface.
1.4 others (Database buffer pool framework, etc)
To use the ms SQL Server database, you also need to add the jtds JDBC driver to the project,Http://jtds.sourceforge.net/Find the download connection and download it as prompted. Download the DBCP database buffer pool framework, which isHttp://commons.apache.org/dbcp/Download the latest version, because the DBCP framework is part of the many frameworks of the Apache open-source software organization. To make DBCP work, you also need the common-pool framework to download it from the Apache official website.