![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVA
niohuang
这个作者很懒,什么都没留下…
展开
-
Tomcat启动时Error Listenerstart的解决方法
在整合struts+hibernate+spring时,Tomcat出现了Error Listenerstart错误码,郁闷的很,在网上找了很多的资料,提问的不少,但都没有很标准的解释以用解决的办法,有的说是jar包的版本冲突,有 的说是Tomcat的自身问题,各解释都有,基本上所有的方法我都试过了。就这个问题搞了两天。终于找到了解决的办法:在web.xml时将: org.转载 2009-11-04 09:39:00 · 914 阅读 · 1 评论 -
spring+struts+hibernate分页
package com.yizhou.common.test;/** * * Copyright @ 2008 YIZHOU SOFTWARE Co. Ltd. * All right reserved. * * @author xuxinlong * * mail: longxx888@163.com * */public class转载 2009-11-06 09:24:00 · 384 阅读 · 0 评论 -
Spring中WebApplicationContext的研究(转 laoer的,感觉写的不错,值得一读)
ApplicationContext是Spring的核心,Context我们通常解释为上下文环境,我想用“容器”来表述它更容易理解一些,ApplicationContext则是“应用的容器”了:P,Spring把Bean放在这个容器中,在需要的时候,用getBean方法取出,虽然我没有看过这一部分的源代码,但我想它应该是一个类似Map的结构。 在Web应用中,我们会用到WebApplication转载 2009-11-05 12:23:00 · 269 阅读 · 0 评论 -
struts+spring整合测试
struts+spring整合有3种方式,通过查阅资料得知,将servlet action 委托给spring来管理的这种方式优势最为显著.本次struts+spring整合测试就是采用委托的方法。 实施步聚: 首先在struts-config.xml文件中注册spring插件,如下所示。 代码 其次将所有action标签中type属性设为org.springfr转载 2009-11-02 09:47:00 · 346 阅读 · 0 评论