2017年11月28日

struts2.xml中使用chain和redirectAction这两个注意事项

摘要: 当在struts.xml中使用chain和redirectAction这两个类型结果的时候,会报检查错误!Multiple annotations found at this line: - Undefined actionnamespace parameter - Undefined action 阅读全文

posted @ 2017-11-28 15:23 3r3r3www 阅读(337) 评论(0) 推荐(0) 编辑

struts addFieldError()方法添加的数据怎么在页面显示

摘要: this.addFieldError("certNo", "身份证错误"); 第一种使用struts异常标签(带样式) <s:fielderror > <s:param>certNo</s:param></s:fielderror> 第二种只显示错误信息(纯粹的文本) 1,判断是否有错误信息 <s: 阅读全文

posted @ 2017-11-28 14:44 3r3r3www 阅读(148) 评论(0) 推荐(0) 编辑

导航