检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]渤海大学信息科学与技术学院,辽宁锦州121013
出 处:《计算机技术与发展》2013年第1期59-62,66,共5页Computer Technology and Development
基 金:国家自然科学基金资助项目(70871067);2011年辽宁省东欧及独联体国家重点引智项目
摘 要:良好的输入校验是成熟软件的必备条件。针对Struts2框架的Web页面服务器端校验代码难于编写等问题,文中研究将页面的数据设置到表中,由应用程序自动生成validation.xml配置文件的技术。在对Struts2的输入校验流程进行分析的基础上,设计自动生成时用到的"校验器字典"和"页面控件设置"两个表的结构;然后进行自动生成程序设计,包括程序设计流程和主要的校验函数;最后通过自动生成实例进行验证。结果表明,自动生成输入校验的validation.xml配置文件,提高了软件开发劳动生产率,同时,自动生成技术也是软件工程未来重要的研究方向。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.
关 键 词:STRUTS2 校验文件 VALIDATION XML 自动生成技术
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15