节点文献
基于Struts的数据校验框架的应用研究
Study of validator framework based on struts
【摘要】 随着网络技术的飞速发展,数据的有效性校验变得更加重要。基于Struts的数据校验框架是一种通过配置外部XML文件,是一种利用可重用的校验规则和正则表达式匹配规则的校验机制。分析了实现这个框架的关键技术和工作流程,提出了在这个框架中如何扩充数据校验的方法,并且实现了把这种基于Struts框架移植到一般的Java系统的方案。
【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.
【关键词】 数据校验;
Struts;
Plug-In机制;
XML;
Resouces Bundle;
【Key words】 validation; struts; plug-In; XML; resources bundle;
【Key words】 validation; struts; plug-In; XML; resources bundle;
- 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2004年08期
- 【分类号】TP311.11
- 【被引频次】25
- 【下载频次】167