快速搭建struts2框架
1.下载struts2源码包,官方网址:https://struts.apache.org/download.cgi#struts2516
2.创建一个web工程项目
3.打开struts2源码包的lib文件夹,选择需要的jar包:
commons-io
commons-lang3
commons-fileupload
javassist
struts2-core
xwork-core
freemarker
ognl
4.将所需jar包拷贝到lib目录下: