摘要
主要针对Web程序开发中在表单提交时可能出现重复提交的问题,给出了客户端和服务器端两种解决方案。结合基于MVC模型的开发源项目Struts,使用同步令牌技术实现了避免表单重复提交的方法,同时阐述了Struts框架中使用令牌的工作原理。
<Abstrcat>During the programming of Web application,the problem of duplicate submission may occur.Based on this problem,the paper brings forward two kinds of solutions of client and server.They are combined with Struts——an open-sources MVC model implementation and the technology of synchronous token is adopted to avoid duplicate submission.At the same time,it illustrates the operating principles of using token in the Struts framework.
出处
《计算机与现代化》
2005年第7期110-112,共3页
Computer and Modernization