- 博客(11)
- 收藏
- 关注
原创 spring解决延迟加载问题--no session
OpenSessionInViewFilter org.springframework.orm.hibernate5.support.OpenSessionInViewFilter OpenSessionInViewFilter *.action 必须在struts2的核心过滤器之前配置。 对所有扩展名为action的有效。
2017-08-16 15:58:05 889 15
原创 ssh整合之不带hibernate配置文件的spring中的配置
jdbc.properties:jdbc.driverClass=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql:///ssh_37jdbc.user=rootjdbc.password=123456applicationContext.xml: --> org.hibernate.dialect
2017-08-16 14:33:33 2166 13
原创 applicationContext.xml约束
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.
2017-08-16 11:00:37 302 2
原创 hibernate映射文件
这里以customer.hbm.xml为例:<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
2017-08-16 10:58:09 228 5
原创 hibernate.cfg.xml
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> com.mysql.jdbc.Driver jdbc:mysql
2017-08-16 10:56:29 216 3
原创 struts.xml约束
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd">
2017-08-16 10:55:19 615 3
原创 spring的核心监听器
org.springframework.web.context.ContextLoaderListener contextConfigLocation classpath:applicationContext.xml 在web.xml中进行配置
2017-08-15 18:24:20 1202 4
原创 struts2核心过滤器
struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* 在web.xml中进行配置。
2017-08-15 18:23:30 1718 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人