Skip to content

14.ダウンロード Struts2

domanthan edited this page Jun 22, 2020 · 1 revision

1. ダウンロードページのURL

https://struts.apache.org/download.cgi

例:

Full Releases
Struts 2.5.22
Apache Struts 2.5.22 is an elegant, extensible framework for creating enterprise-ready Java web applications.
It is available in a full distribution, or as separate library, source, example and
documentation distributions.
Struts 2.5.22 is the "best available" version of Struts in the 2.5 series.

Version Notes
Full Distribution:
struts-2.5.22-all.zip (65MB) [PGP] [SHA256]
Example Applications:
struts-2.5.22-apps.zip (35MB) [PGP] [SHA256]
Essential Dependencies Only:
struts-2.5.22-min-lib.zip (4MB) [PGP] [SHA256]
All Dependencies:
struts-2.5.22-lib.zip (19MB) [PGP] [SHA256]
Documentation:
struts-2.5.22-docs.zip (13MB) [PGP] [SHA256]
Source:
struts-2.5.22-src.zip (7MB) [PGP] [SHA256]

2. ダウンロード種類

いろんなダウンロードの仕方があるが、必要最小限のJarだけをダウンロード。
  下記種類を選択してください。
Essential Dependencies Only

3. Jarの配置

ダウンロードしたzip を解凍して、プロジェクトの下記フォルダーにコピー:

WebContent/WEB-INF/lib

  • commons-lang3-3.8.1.jar
  • commons-io-2.6.jar
  • commons-fileupload-1.4.jar
  • log4j-api-2.12.1.jar
  • javassist-3.20.0-GA.jar
  • ognl-3.1.26.jar
  • freemarker-2.3.28.jar
  • struts2-core-2.5.22.jar

Clone this wiki locally