c.url}"/>ropertyname="password"value="${jdbc.password}"/>="driverClassName"value="${jdbc.driver}"/>tive"value="10"/>--让spring管理sqlsessionfactory使用mybatis和spring整合包中的-->sqlSessionFactory"class="org.mybatis.spring.SqlSessionFactoryBea
n">
lasspath:mybatis/SqlMapConfig.xml"/>eanclass="org.mybatis.spring.mapper.MapperScannerConfigurer">opertyname="basePackage"value="com.yinghuameng.mapper"/>>db.propertiesjdbc.driver=com.mysql.jdbc.Driverjdbc.url=j
dbc:mysql://localhost:3306/taotao?characterEncoding=utf-8jdbc.use
rname=rootjdbc.password=rootapplicationContext-service.xmlersion="1.0"encoding="UTF-8"?>mework.org/schema/beans"xmlns:context="http://www.springframework
.org/schema/context"xmlns:p="http://www.springframework.org/sche
ma/p"xmlns:aop="http://www.springframework.org/schema/aop"xmlns:
tx="http://www.springframework.org/schema/tx"xmlns:xsi="http://ww
w.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.s
pringframework.org/schema/beanshttp://www.springframework.org/sc
hema/beans/spring-beans-4.0.xsdhttp://www.springframework.org/sch
ema/contexthttp://www.springframework.org/schema/context/spring-
context-4.0.xsdhttp://www.springframework.org/schema/aophttp://w
ww.springframework.org/schema/aop/spring-aop-4.0.xsdhttp://www.s
pringframework.org/schema/txhttp://www.springframework.org/schem
a/tx/spring-tx-4.0.xsdhttp://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-4.0.xsd"><
!--包扫描器,扫描带@Service注解的类-->"com.yinghuameng.service">applic
ationContext-trans.xmlsxmlns="http://www.springframework.org/schema/beans"xmlns:contex
t="http://www.springframework.org/schema/context"xmlns:p="http:/
/www.springframework.org/schema/p"xmlns:aop="http://www.springfra
mework.org/schema/aop"xmlns:tx="http://www.springframework.org/s
chema/tx"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi
:schemaLocation="http://www.springframework.org/schema/beanshttp
://www.springframework.org/schema/beans/spring-beans-4.0.xsdhttp:
//www.springframework.org/schema/contexthttp://www.springframewo
rk.org/schema/context/spring-context-4.0.xsdhttp://www.springfram
ework.org/schema/aophttp://www.springframework.org/schema/aop/sp
ring-aop-4.0.xsdhttp://www.springframework.org/schema/txhttp://
www.springframework.org/schema/tx/spring-tx-4.0.xsdhttp://www.spr
ingframework.org/schema/utilhttp://www.springframework.org/schem
a/util/spring-util-4.0.xsd">nager"class="org.springframework.jdbc.datasource.DataSourceTransa
ctionManager">urce"/>nager="transactionManager">name="save"propagation="REQUIRED"/>propagation="REQUIRED"/>IRED"/>thodname="delete"propagation="REQUIRED"/>ate"propagation="REQUIRED"/>n="SUPPORTS"read-only="true"/>tion="SUPPORTS"read-only="true"/>tion="SUPPORTS"read-only="true"/>--切面-->execution(com.yinghuameng.service..(..))"/>ans>springmvc.xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http:/
/www.w3.org/2001/XMLSchema-instance"xmlns:p="http://www.springfr
amework.org/schema/p"xmlns:context="http://www.springframework.or
g/schema/context"xmlns:mvc="http://www.springframework.org/schema
/mvc"xsi:schemaLocation="http://www.springframework.org/schema/be
anshttp://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/mvchttp://www.springframew
ork.org/schema/mvc/spring-mvc-4.0.xsdhttp://www.springframework.
org/schema/contexthttp://www.springframework.org/schema/context/
spring-context.xsd">se-package="com.yinghuameng.controller">
ss="org.springframework.web.servlet.view.InternalResourceViewReso
lver">ame="suffix"value=".jsp"/>Web.xml"1.0"encoding="UTF-8"?>1/XMLSchema-instance"xmlns="http://java.sun.com/xml/ns/javaee"xm
lns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"xsi:sc
hemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.c
om/xml/ns/javaee/web-app_2_5.xsd"id="yinghuameng"version="2.5"><
display-name>yinghuameng-manager