[1]常革新,任永昌.Struts2框架校验文件自动生成技术[J].计算机技术与发展,2013,(01):59-62.
 CHANG Ge-xin,REN Yong-chang.Automatic Generation Technology of Validation File of Struts2 Framework[J].,2013,(01):59-62.
点击复制

Struts2框架校验文件自动生成技术()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2013年01期
页码:
59-62
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
Automatic Generation Technology of Validation File of Struts2 Framework
文章编号:
1673-629X(2013)01-0059-04
作者:
常革新任永昌
渤海大学 信息科学与技术学院
Author(s):
CHANG Ge-xinREN Yong-chang
关键词:
Struts2校验文件validation.xml自动生成技术
Keywords:
Struts2validation filevalidation. xmlautomatic generation technology
文献标志码:
A
摘要:
良好的输入校验是成熟软件的必备条件.针对 Struts2框架的 Web 页面服务器端校验代码难于编写等问题,文中研究将页面的数据设置到表中,由应用程序自动生成 validation. xml 配置文件的技术.在对 Struts2的输入校验流程进行分析的基础上,设计自动生成时用到的“校验器字典”和“页面控件设置”两个表的结构;然后进行自动生成程序设计,包括程序设计流程和主要的校验函数;最后通过自动生成实例进行验证.结果表明,自动生成输入校验的 validation. xml 配置文件,提高了软件开发劳动生产率,同时,自动生成技术也是软件工程未来重要的研究方向
Abstract:
Good input validation is a prerequisite for sophisticated software. Aiming at the problem which validation code is hard to com-pile for Web page server for the Struts2 framework,study the technology that put page's data set into the tables,automatically generate validation. xml by the application program. On the basis of the Struts2 input validation processes,design the structure of two tables,the "checker dictionary" and " control settings page" used when automatically generated;then automatically generates programming,including program design process and the main validation function;finally verify through automatic generation of examples. The results show that input validation. xml configuration files automatically generated,is to improve software development productivity,and automatical genera-tion technology is an important future research directions of software engineering

相似文献/References:

[1]李莉 赵秋阳 张贺亮 陈未如.基于分布式技术的网络教学资源平台的设计[J].计算机技术与发展,2011,(03):72.
 LI Li,ZHAO Qiu-yang,ZHANG He-liang,et al.Design of Network Teaching Resource Platform Based on Distributed Technology[J].,2011,(01):72.
[2]聂常红,唐远强,冯相忠[].Struts2 OGNL表达式语言的研究与应用[J].计算机技术与发展,2013,(03):183.
 NIE Chang-hong,TANG Yuan-qiang,FENG Xiang-zhong.Research and Application of Struts2 OGNL Expression Language[J].,2013,(01):183.
[3]欧阳宏基,宋笑雪,李 红.高等院校目标考核信息化框架研究[J].计算机技术与发展,2018,28(10):182.[doi:10.3969/ j. issn.1673-629X.2018.10.038]
 OUYANG Hong-ji,SONG Xiao-xue,LI Hong.Research on Information Framework of Target Assessment for College and University[J].,2018,28(01):182.[doi:10.3969/ j. issn.1673-629X.2018.10.038]

更新日期/Last Update: 1900-01-01