
stuts2
iteye_3794
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
struts2 中 action 跟 actionsupport 的区别
action接口有:public static final java.lang.String SUCCESS = "success";public static final java.lang.String NONE = "none";public static final java.lang.String ERROR = "error";public static final java.lang...原创 2009-03-19 01:23:34 · 120 阅读 · 0 评论 -
Struts2在Action中获得Response对象的四种方法
在struts1.x Action类的execute方法中,有四个参数,其中两个就是response和request。而在Struts2中,并没有任何参数,因此,就不能简单地从execute方法获得HttpServletResponse或HttpServletRequest对象了。 但在Struts2 Action类中仍然有很多方法可以获得这些对象。下面就列出四种获得这些对象的方法。 ...原创 2009-03-19 01:26:49 · 320 阅读 · 0 评论 -
Exception starting filter struts2
struts2与tomcat的问题,你把<constant name="struts.devMode" value="true" />中的value值改为false也一样可以的,因为devMode模式是开发模式,开启它则默认开启了i18n.reload、configuration.xml.reload。这个错误是由于configuration.xml.reload设置为true造成的,...原创 2011-05-30 21:08:54 · 106 阅读 · 0 评论 -
struts2 刷页面 进action两次
由于页面中标签src="" 肯定与刷新路径一直。所以被struts2拦截后又进入该action中原创 2014-09-11 15:06:13 · 172 阅读 · 0 评论