From ea23038bd071936604344f77d33b5fd0083eae1f Mon Sep 17 00:00:00 2001 From: chenlw <874313221@qq.com> Date: Mon, 21 Nov 2016 16:36:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Mybatis=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/mybatis-applicationConfig.xml | 8 +++++--- .../config/spring-applicationContext.xml | 19 ++++++++++++++++++- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/WebContent/WEB-INF/config/mybatis-applicationConfig.xml b/WebContent/WEB-INF/config/mybatis-applicationConfig.xml index c86d977d..01a49f88 100644 --- a/WebContent/WEB-INF/config/mybatis-applicationConfig.xml +++ b/WebContent/WEB-INF/config/mybatis-applicationConfig.xml @@ -4,6 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-config.dtd"> + @@ -11,7 +12,7 @@ - + @@ -19,7 +20,8 @@ - + + \ No newline at end of file diff --git a/WebContent/WEB-INF/config/spring-applicationContext.xml b/WebContent/WEB-INF/config/spring-applicationContext.xml index dcfba49b..3cd3b65b 100644 --- a/WebContent/WEB-INF/config/spring-applicationContext.xml +++ b/WebContent/WEB-INF/config/spring-applicationContext.xml @@ -22,6 +22,7 @@ http://www.springframework.org/schema/task/spring-task-3.0.xsd"> + @@ -40,13 +41,29 @@ + + + + classpath:com/dao/mapper/*apper.xml + + + + - + + + +