struts2.2.1+hibernate3.6.0+spring3.0.5+proxool-0.9.1范例(2)
来源:互联网 发布:手机淘宝安卓历史版本 编辑:程序博客网 时间:2024/05/20 22:01
文献:http://www.verydemo.com/demo_c146_i22158.html
struts2.2.1+hibernate3.6.0+spring3.0.5+proxool-0.9.1实例(2)
applicationContext.xml.xml配置如下:
applicationContext.xml.xml配置如下:
<?xml version="1.0" encoding="UTF-8"?><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.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd"><!-- 用注解方式注入bean,启动服务器时,spring会到com.yj查找所有带spring的注解(如:@Component),把他们注入到spring中 --><context:annotation-config/><context:component-scan base-package="com.yj"/><!-- hibernate sessionFactory 创建 --><bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"><property name="packagesToScan"><list><value>com.yj.model</value></list></property>…………………………………………………………………………
0 0
- struts2.2.1+hibernate3.6.0+spring3.0.5+proxool-0.9.1范例(2)
- struts2.2.1+hibernate3.6.0+spring3.0.5+proxool-0.9.1实例(1)
- struts2+spring3+hibernate3正确的配置proxool
- struts2.2.1.1+spring3+hibernate3+json
- spring3管理struts2和hibernate3(2)
- spring3管理struts2和hibernate3(1)
- ssh最新整合配置(struts2.2.1+ hibernate3.6+spring3.0.5)
- ssh整合配置(struts2.2.1+ hibernate3.6+spring3.0.5)
- SSH(struts2.2.1+ hibernate3.6+spring3.0.5)组合
- ssh整合配置(struts2.2.1+ hibernate3.6+spring3.0.5)
- 1、环境搭建(整合spring3.0.5+hibernate3.6.10+struts2.3.8)
- Struts2.2.1+Hibernate3.6+spring3.1注解开发学习笔记
- Struts2.2.1+Hibernate3.6+spring3.1注解开发
- SSH整合(struts2.2.1 + spring3.0 + hibernate3.3)
- SSH整合(struts2.2.1 + spring3.0 + hibernate3.3)
- ssh Struts2.2+Hibernate3.6+Spring3.1+oracle 分页示例
- S2SH(struts2.2+spring3.1+hibernate3.3)框架简单搭建
- Struts2.2+Spring3.0+Hibernate3.6整合
- Ruby on Rails,从这边开始
- CSRF
- Android工程目录结构简介
- 64位inline api hook
- 国内开源Java cms /Jspxcms 4.1 正式版发布
- struts2.2.1+hibernate3.6.0+spring3.0.5+proxool-0.9.1范例(2)
- 第二节 JQuery的有关语法
- HashMap里面hashCode的原理
- Linux新手入门:Unable to locate package错误解决办法
- WCF学习笔记——契约不能少了set
- WinCE平台NKDbgPrintfW等支持的格式符及浮点数打印方法
- Spring 入门
- 回家爸妈宝贝们,等你?
- 分手理由大全