博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
springmvc3.2+spring+hibernate4全注解方式整合(一)
阅读量:4636 次
发布时间:2019-06-09

本文共 4277 字,大约阅读时间需要 14 分钟。

json_test
login.jsp
contextConfigLocation
classpath:com/config/spring/spring-*.xml
org.springframework.web.context.ContextLoaderListener
springMvc
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
/WEB-INF/SrpingMvc_servlet.xml
1
springMvc
*.do
encodingFilter
org.springframework.web.filter.CharacterEncodingFilter
encoding
UTF-8
forceEncoding
true
encodingFilter
/*
openSession
org.springframework.orm.hibernate4.support.OpenSessionInViewFilter
openSession
/*

首先从我的web.xml文件大概能看出主要配置文件的存放路径和hibernate的版本。

 

2、springmvc的配置文件

text/html;charset=UTF-8

3、spring-jdbc.xml的配置文件

${hibernate.dialect}
${hibernate.show_sql}
${hibernate.format_sql}
none
org.springframework.orm.hibernate4.SpringSessionContext
org.springframework.orm.hibernate4.SpringSessionContext
false
false

4、spring自己的配置文件spring-common.xml

 

 

转载于:https://www.cnblogs.com/fangj/p/3820228.html

你可能感兴趣的文章
58前端内推笔试2017(含答案)
查看>>
写给自己的web开发资源
查看>>
Java学习笔记
查看>>
sprintf 和strcpy 的差别
查看>>
打表打表何谓打表?
查看>>
MPEG4与.mp4
查看>>
实验5
查看>>
git 下载 安装
查看>>
录制终端信息并回放
查看>>
JS中window.event事件使用详解
查看>>
ES6深入学习记录(一)class方法相关
查看>>
《BI项目笔记》用Excel2013连接和浏览OLAP多维数据集
查看>>
C语言对mysql数据库的操作
查看>>
SQL Server 数据库备份
查看>>
INNO SETUP 获得命令行参数
查看>>
Charles抓取https请求
查看>>
LAMP环境搭建
查看>>
C语言的变量的内存分配
查看>>
clientcontainerThrift Types
查看>>
链接全局变量再说BSS段的清理
查看>>