首页 | 本学科首页   官方微博 | 高级检索  
     

基于Struts的数据校验框架的应用研究
引用本文:孙麒,郑宁,周志宇.基于Struts的数据校验框架的应用研究[J].计算机工程与设计,2004,25(8):1313-1316.
作者姓名:孙麒  郑宁  周志宇
作者单位:1. 杭州电子工业学院,计算机应用分院,浙江,杭州,310037;浙江工程学院,信息电子学院,浙江,杭州,310033
2. 杭州电子工业学院,计算机应用分院,浙江,杭州,310037
3. 浙江工程学院,信息电子学院,浙江,杭州,310033
摘    要:随着网络技术的飞速发展,数据的有效性校验变得更加重要。基于Struts的数据校验框架是一种通过配置外部XML文件,是一种利用可重用的校验规则和正则表达式匹配规则的校验机制。分析了实现这个框架的关键技术和工作流程,提出了在这个框架中如何扩充数据校验的方法,并且实现了把这种基于Struts框架移植到一般的Java系统的方案。

关 键 词:数据校验  XML文件  正则表达式  Struts框架  可重用  匹配规则  配置
文章编号:1000-7024(2004)08-1313-04

Study of validator framework based on struts
SUN Qi.Study of validator framework based on struts[J].Computer Engineering and Design,2004,25(8):1313-1316.
Authors:SUN Qi
Abstract:With the development of the internet technologies, validation is more important. The validator framework based on struts is a mechanism configuring outside XML files with the reusable validation regulations and matching regulations of regular expression. Some associated technologies and the workflow of the framework are analyzed, and a method of extending the validation ways is put forward. And a scheme of validating outside of struts was represented.
Keywords:validation  struts  plug-In  XML  resources bundle
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号