随笔分类 -  struts

struts1.2乱码纠错
摘要:Filter:1/**2*权限验证过滤器,副业是乱码纠错3*@authorizumi4*/5publicclassVerificationFilterimplementsFilter{67/**8*HttpServletRequest对象9*/10privateHttpServletRequestthisRequest;11/**12*HttpServletResponse对象13*/14privateHttpServletResponsethisResponse;15/**16*Thedefaultcharacterencodingtosetforrequeststhatpassthroug 阅读全文

posted @ 2011-11-16 15:23 izumi 阅读(484) 评论(0) 推荐(0)

(转)再说ActionMessages类及其用法
摘要:转自:http://ahang8415.blog.163.com/blog/static/525291232008512111133947/再说ActionMessages类及其用法在ActionMessages中包含着一个HashMap,其中的key就是add方法的property参数,然而他的值对应的是一个ActionMessageItem,ActionMessageItem是该类的一个内部类,当中包含了一个ArrayList由此可见,一个property中可以包含着多个ActionMessage,这些ActionMessage都将保存在ActionMessageItem的ArrayLis 阅读全文

posted @ 2011-08-25 10:32 izumi 阅读(3848) 评论(0) 推荐(0)

struts1.x的国际化
摘要:学习:http://www.cnblogs.com/jinzhengquan/archive/2011/02/14/1954706.html 阅读全文

posted @ 2011-08-05 10:32 izumi 阅读(157) 评论(0) 推荐(0)

struts1.2中将ActionForm放在HttpSession中的实践
摘要:<action path="/customer/customerInfoManage" parameter="method"scope="session" name="cusCustomerInfoForm"type="com.byttersoft.customer.action.CusCustomerInfoAction"validate="false"><forward na... 阅读全文

posted @ 2010-09-20 09:56 izumi 阅读(1754) 评论(0) 推荐(0)

struts1.2中从一个action跳转到另外一个action
摘要:在action的方法的最后,一般情况下都使用return mapping.findForward("xxxxx");如果想跳转到另外一个action的某个页面,可以这样:ActionForward actionForward = new ActionForward();actionForward.setPath("/customer/creditApprManage.do?method=searc... 阅读全文

posted @ 2010-09-15 15:15 izumi 阅读(6726) 评论(0) 推荐(0)

MappingDispatchAction与DispatchAction用法上的一点区别
摘要:1.在jsp页面上前者如下:<li><a href="./deptAction.do">dept</a></li><li><a href="./deptAction.do">dept2</a></li>后者如下:<li><a href="./deptAction.do?method=d... 阅读全文

posted @ 2010-09-09 15:33 izumi 阅读(625) 评论(0) 推荐(0)

Struts与JSTL中的迭代标签区别
摘要:原文地址:http://hi.baidu.com/bbt_soft/blog/item/889a82009455050b738da58c.html首先看一下一下代码,代码实现的功能就是根据年级搜索出对应的班级。1.Struts的迭代标签:<tr> <td>年级: </td> <td> <select name="grade" onchange=... 阅读全文

posted @ 2010-08-25 11:19 izumi 阅读(1043) 评论(0) 推荐(0)

struts标签详解
摘要:http://heisetoufa.javaeye.com/blog/227653 阅读全文

posted @ 2010-08-09 13:34 izumi 阅读(196) 评论(0) 推荐(0)

导航