struts2
daixj110
这个作者很懒,什么都没留下…
展开
-
解除struts2的自动样式
struts2中包含了一些默认的模版文件($ {struts-core-2.06.jar}/template),其中有ajax/simple/xhtml等. 查看struts.properties或$ {struts-core-2.06.jar}/org/apache/struts2/default.properties文件,其中有如下配置: struts.ui.theme=xht...原创 2010-08-19 14:55:59 · 86 阅读 · 0 评论 -
No result defined for action and result input
这是struts2的一个拦截器报的错误,当你的form中的数据有问题,比如说 当 name值为NULL时,就出这个错了,所以你可以在当前页面加入以下标签 它就会显示拦截器的错误,并在struts的XML中对应action里加如 /AddProducts.jsp 让他把错误返回到该页面就可以了 2、是action或者action中的result返回错误 ...原创 2010-09-17 22:46:10 · 106 阅读 · 0 评论 -
struts1异常处理
http://www.blogjava.net/soochow_hhb/archive/2005/06/11/5905.aspx http://fishyych.iteye.com/blog/78581原创 2010-12-23 10:12:24 · 73 阅读 · 0 评论 -
struts2自提示错误定义
在同一包中建与action名相同的.properties 文件 invalid.fieldvalue.字段名=自提示错误原创 2010-09-20 20:30:05 · 64 阅读 · 0 评论 -
ext与spring、struts2整合的图书管理系统
来源于网络,包括ext的常用功能,分页,表单提交原创 2011-07-14 14:22:26 · 80 阅读 · 0 评论