自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

李春丽的博客

百川灌河

  • 博客(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

原创 hibernate模板配置

2017-08-16 11:18:05 389 8

原创 spring的事务管理配置

同时不要忘记在service层的实现类上加上@Transactional

2017-08-16 11:04:12 252 3

原创 配置生成sessionFactory--ssh整合之带有hibernate配置文件

2017-08-16 11:02:04 558 3

原创 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关注的人

提示
确定要删除当前文章?
取消 删除