随笔分类 -  stuts

struts1.x/struts2
摘要:一直在用Webwork2,因为Struts2基于Xwork2开发,变化更多的体现在名称上,所以平时甚少关注。这些天看了一下Apache上的文档,觉得Struts2更加优雅一些,至少Action变成了一个纯粹的POJO,而无须再实现任何一个接口。 Struts2不再提供Webwork2内置的IoC容器支持,转而将Spring作为ObjectFactory的缺省实现。所有由Struts2创建的对象都是由ObjectFactory实例化,ObjectFactory可以集成各种IoC容器,例如Spring、Pico、 Plexus等等. 在拦截器方面,Struts2不再支持AroundIntercep 阅读全文
posted @ 2009-01-01 14:19 WenEric 阅读(343) 评论(0) 推荐(0)
摘要:在Struts 2+Hibernate开发遇到了Struts2+JDK 6的冲突问题,具体信息如下: 出错信息: Illegal access: this web application instance has been stopped already. Could not load org.xml.sax.SAXException. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thre 阅读全文
posted @ 2009-01-01 14:17 WenEric 阅读(426) 评论(0) 推荐(0)