
Struts
iamfafa
这个作者很懒,什么都没留下…
展开
-
struts获取常量配置信息
@Inject(StrutsConstants.STRUTS_MULTIPART_MAXSIZE) private String maxSize; 或者 private String maxSize2; @Inject(StrutsConstants.STRUTS_MULTIPART_MAXSIZE) public void setMaxSize(String size)原创 2012-05-05 02:32:56 · 1035 阅读 · 0 评论 -
struts2 chain 传递 actionerrors
注意两点 1. 配置问题 struts.xwork.chaining.copyErrors - set to true to copy Action Errors(默认false)struts.xwork.chaining.copyFieldErrors - set to true to copy Field Errors (默认false)struts.xwork.chain原创 2013-05-05 00:44:13 · 1244 阅读 · 0 评论