摘要:Filter:1/**2*权限验证过滤器,副业是乱码纠错3*@authorizumi4*/5publicclassVerificationFilterimplementsFilter{67/**8*HttpServletRequest对象9*/10privateHttpServletRequestthisRequest;11/**12*HttpServletResponse对象13*/14privateHttpServletResponsethisResponse;15/**16*Thedefaultcharacterencodingtosetforrequeststhatpassthroug
阅读全文
摘要:转自:http://ahang8415.blog.163.com/blog/static/525291232008512111133947/再说ActionMessages类及其用法在ActionMessages中包含着一个HashMap,其中的key就是add方法的property参数,然而他的值对应的是一个ActionMessageItem,ActionMessageItem是该类的一个内部类,当中包含了一个ArrayList由此可见,一个property中可以包含着多个ActionMessage,这些ActionMessage都将保存在ActionMessageItem的ArrayLis
阅读全文
摘要:学习:http://www.cnblogs.com/jinzhengquan/archive/2011/02/14/1954706.html
阅读全文
摘要:<action path="/customer/customerInfoManage" parameter="method"scope="session" name="cusCustomerInfoForm"type="com.byttersoft.customer.action.CusCustomerInfoAction"validate="false"><forward na...
阅读全文
摘要:在action的方法的最后,一般情况下都使用return mapping.findForward("xxxxx");如果想跳转到另外一个action的某个页面,可以这样:ActionForward actionForward = new ActionForward();actionForward.setPath("/customer/creditApprManage.do?method=searc...
阅读全文
摘要: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...
阅读全文
摘要:原文地址:http://hi.baidu.com/bbt_soft/blog/item/889a82009455050b738da58c.html首先看一下一下代码,代码实现的功能就是根据年级搜索出对应的班级。1.Struts的迭代标签:<tr> <td>年级: </td> <td> <select name="grade" onchange=...
阅读全文
摘要:http://heisetoufa.javaeye.com/blog/227653
阅读全文