spring+springMVC+mybatis框架搭建(下篇)

在上篇中我們創建了SSM框架中的web.xml,在這一篇中我們將創建mybatis 1、在applicationContext.xml中添加mybatis配置 <!-- 配置 MyBatis的工廠 --> <bean class="org.mybatis.spring.SqlSessionFactoryBean"> <!-- 數據源 --> <property name="dataSource
相關文章
相關標籤/搜索