
Struts Hibernate Spring
fatOwen
这个作者很懒,什么都没留下…
展开
-
Struts使用随机验证码
struts-config.xml attribute="checkForm" input="/check/check.jsp" name="checkForm" path="/check" scope="request" validate="true" type="com.yourc转载 2009-11-07 10:55:00 · 1136 阅读 · 0 评论 -
Struts令牌防止重复提交(转贴)
在Action中的add方法中,我们需要将Token值明确的要求保存在页面中,只需增加一条语句:saveToken(request);,如下所示: public ActionForward add(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse转载 2012-03-15 12:45:39 · 791 阅读 · 0 评论