![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring技术
文章平均质量分 83
FoxGit
路还很长,需多加努力
展开
-
JSF和Spring集成
JSF和Spring集成的资料比较少,原理是获得彼此的上下文引用,以此进一步获得各自管理的bean,这是可能的,因为两者是web应用框架都遵循servlet规范,为二者整合提供了可能和基础. 在Spring中ApplicationContext是相当重要的类,对于web应用,它还包装了javax.servlet.ServletContext,为web应用提供了所有可以利用的数据,包括转载 2007-04-11 11:10:00 · 757 阅读 · 0 评论 -
JSF和Spring集成2--简单配置
web.xml配置:xml version="1.0"?> * Copyright 2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c原创 2007-04-11 11:40:00 · 785 阅读 · 0 评论 -
Spring中集成Hibernate连接MySQL数据库配置
在Spring配置文件applicationContext.xml中加入数据库连接配置xml version="1.0" encoding="UTF-8"?>DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">beans> bean id="原创 2007-04-11 12:13:00 · 4600 阅读 · 0 评论