contextCon" />
SSI整合--搭建Struts2+Spring+Ibatis框架
各配置文件解析:
xmlns:xsi="https://www.doczj.com/doc/329734330.html,/2001/XMLSchema-instance" xsi:schemaLocation="https://www.doczj.com/doc/329734330.html,/xml/ns/javaee https://www.doczj.com/doc/329734330.html,/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> org.springframework.web.context.ContextLoaderListener
spring-config.xml
xmlns:xsi="https://www.doczj.com/doc/329734330.html,/2001/XMLSchema-instance" xsi:schemaLocation="https://www.doczj.com/doc/329734330.html,/schema/beans http://www.springframewo https://www.doczj.com/doc/329734330.html,/schema/beans/spring-beans.xsd">
spring-jdbc.properties
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://127.0.0.1:3306/gwap
https://www.doczj.com/doc/329734330.html,ername=root
jdbc.password=123456
struts.xml
"-//Apache Software Foundation//DTD Struts Configuration2.1//EN"
"https://www.doczj.com/doc/329734330.html,/dtds/struts-2.1.dtd">
struts-main.xml
"-//Apache Software Foundation//DTD Struts Configuration2.1.7//EN"
"https://www.doczj.com/doc/329734330.html,/dtds/struts-2.1.7.dtd">
index
/user
5