![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
session
syh945
这个作者很懒,什么都没留下…
展开
-
session 的应用——防止表单重复提交——1.0版
[size=x-large]1). 表单的重复提交: > 在表单页面, 多次点击 "提交" 按钮. > 在[color=red]转发[/color]的情况下, "刷新" 在成功页面 > 点击 "后退" 后, 再次提交表单. 2). 不属于表单重复提交: > 点击 "后退" 后,[color=red]刷新表单页面[/color]...原创 2011-03-08 21:39:28 · 150 阅读 · 0 评论 -
session 的应用——防止表单重复提交——2.0版(使用了Struts1 中的重复提交组件: TokenProcessor和自定义标签)...
[code="html"]Insert title here //点击 "提交" 按钮, 只能点击一次 var flag = true; function token(btn){ if(flag){ flag = false; return true; }else{ alert('已经提交过了'...原创 2011-03-08 23:01:36 · 94 阅读 · 0 评论 -
session 的应用——验证码
[code="html"]Insert title here ${requestScope.errormsg } Name: Password: Code: Confir...原创 2011-03-08 23:55:44 · 107 阅读 · 0 评论