首先我是用ecipse 标准版集成相关web插件进行创建的web项目的,Apache Tomcat v7.0、Servlet 3.0

   

   数据库:MySql.5.6.13;

        注:这里用的是可视化工具heidiSQL v8.0,创建的字符集:utf8_general_ci

            如果手动基于windows 命令提示符进行:

                      create database 库名 character set utf8;



   导入三个框架的包分↓(默认放到lib目录下)


  struts-2.3.15.1↓

asm-3.3.jar
asm-commons-3.3.jar
asm-tree-3.3.jar
commons-fileupload-1.3.jar
commons-io-2.0.1.jar
commons-lang3-3.1.jar
commons-logging-1.1.3.jar
freemarker-2.3.19.jar
javassist-3.11.0.GA.jar
log4j-1.2.17.jar
ognl-3.0.6.jar
struts2-core-2.3.15.1.jar
struts2-spring-plugin-2.3.15.1.jar
xwork-core-2.3.15.1.jar


       

spring-framework-4.0.0.M1-dist↓

aopalliance-1.0.jar
aspectjrt.jar
aspectjweaver.jar
cglib-nodep-2.1_3.jar
commons-collections-3.2.1.jar
commons-dbcp-1.4.jar
commons-pool-1.6.jar
hibernate-3.2.0.cr2.jar
log.jar
spring-aop-4.0.0.M1.jar
spring-aspects-4.0.0.M1.jar
spring-beans-4.0.0.M1.jar
spring-build-src-4.0.0.M1.jar
spring-context-4.0.0.M1.jar
spring-context-support-4.0.0.M1.jar
spring-core-4.0.0.M1.jar
spring-expression-4.0.0.M1.jar
spring-instrument-4.0.0.M1.jar
spring-instrument-tomcat-4.0.0.M1.jar
spring-jdbc-4.0.0.M1.jar
spring-jms-4.0.0.M1.jar
spring-orm-4.0.0.M1.jar
spring-oxm-4.0.0.M1.jar
spring-test-4.0.0.M1.jar
spring-tx-4.0.0.M1.jar
spring-web-4.0.0.M1.jar
spring-webmvc-4.0.0.M1.jar
spring-webmvc-portlet-4.0.0.M1.jar
spring-websocket-4.0.0.M1.jar



hibernate-release-4.2.3.Final↓


antlr-2.7.7.jar
c3p0-0.9.2.1.jar
dom4j-1.6.1.jar
ehcache-core-2.4.3.jar
hibernate-commons-annotations-4.0.2.Final.jar
hibernate-core-4.2.3.Final.jar
hibernate-ehcache-4.2.3.Final.jar
hibernate-jpa-2.0-api-1.0.1.Final.jar
javassist-3.15.0-GA.jar
jboss-logging-3.1.1.GA.jar
jboss-transaction-api_1.1_spec-1.0.1.Final.jar
slf4j-api-1.6.1.jar
mysql-connector-java-5.1.7-bin.jar //mysql驱动包