1.首先要在j2ee的项目的Web-INF-lib中导入struts2的jar包,
需要导入的jar包如下:
commons-fileupload-x.y.z.jar
commons-io-x.y.z.jar
commons-lang-x.y.jar
commons-logging-x.y.z.jar
commons-logging-api-x.y.jar
freemarker-x.y.z.jar
javassist-x.y.z.GA
ognl-x.y.z.jar
struts2-core-x.y.z.jar
xwork-core.x.y.z.jar(ps:现已合并到已经合并到了struts-core的jar包中了,所以不用单独导入)