摘要
在基于B/S架构的Java Web项目开发中都会涉及到请求的重复提交问题,实际项目实施中不同的开发者会设计不同的解决思路和方案,然而不可避免的是,很多解决方案代码中仍然存在繁琐不实用的问题,有的甚至还存在较大的安全隐患,导致不能从根本上解决请求的重复提交问题,本文针对这类问题,通过把JavaScript、Session会话、隐藏表单以及验证码等技术进行综合应用,给出了实际开发中解决请求重复提交问题的实现方案。
Different developers have different solutions or plans for the problems involved in resubmitting requests in the projects based on B/S structure of Java Web project. However, most of them inevitably turn out to be not practical and the code security vulnerabilities still exist, which result in the failure to solve the problem fundamentally. This paper is to give a plan to solve the problems in practical development by the comprehensive application of Java Script, Session, hidden form and the verification code technology and so on.
出处
《萍乡高等专科学校学报》
2014年第3期69-72,共4页
Journal of Pingxiang College