
struts
iteye_5020
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
警告: Parameters: Invalid chunk ignored.
今日写程序时遇到这么个(似曾相识)问题:在页面(jsp)中使用了struts2的<s:select../>标记,保存的时候总是报这个错误:Console打印Errortag 'select', field 'list', name 'ClassA.propertyA': The requested list key 'XXXList' could not be resolved ...2009-02-06 18:00:17 · 132 阅读 · 0 评论 -
Struts1和Struts2的区别
Action 类: ◆Struts1要求Action类继承一个抽象基类。Struts1的一个普遍问题是使用抽象类编程而不是接口。 ◆Struts 2 Action类可以实现一个Action接口,也可实现其他接口,使可选和定制的服务成为可能。Struts2提供一个ActionSupport基类去实现 常用的接口。Action接口不是必须的,任何有execute标识的POJO对象都可以用作St...原创 2009-11-11 11:19:51 · 105 阅读 · 0 评论 -
struts2配置文件
一、Struts2配置文件 Struts2相关的配置文件有web.xml,struts.xml,struts.properties,struts-default.xml,velocity.properties,struts-default.vm。其中web.xml,struts.xml是必须的,其它的配置文件可选择。它们在web应用中的功能如下: web.xml:包含所有必须的框架组件的...原创 2009-05-19 09:50:09 · 105 阅读 · 0 评论 -
Struts2 拦截器
拦截器-Exception转自:http://blog.youkuaiyun.com/wmj2003/archive/2008/11/06/3236981.aspx<interceptor name="exception" class="com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor"/>配置Excepti...2010-02-11 15:29:33 · 112 阅读 · 0 评论