检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:聂常红[1]
出 处:《信息技术与信息化》2016年第10期51-55,共5页Information Technology and Informatization
摘 要:输入到web应用的数据在处理前首先必须进行类型转换和有效性校验,实现这些功能的传统做法是由开发人员手工编写相应代码,这种开发方式会耗费开发人员大量宝贵时间,降低开发效率。而Struts2提供了强大的类型转换和输入校验等web应用的通用功能,在开发web应用时完全可以使用Struts2实现这些通用功能。文章在分析Struts2框架的工作流程及其提供的类型转换和输入校验功能的基础上,以高校科研管理系统中的立项申报输入数据的类型转换和有效性校验为例,阐述了Struts2在实际项目中的类型转换和输入校验的应用,为Java Web应用开发提供了实际参考价值。Input data into a web application must first processing for type conversion and validation, realizing the function of the traditional approach is by the developer manually written code accordingly, this way of development takes developers a lot of valuable time,reduce the development efficiency. And struts 2 provides powerful type conversion and input validation and so on common functions of web application , when developing web applications can use struts 2 implement these common functions.. Based on the analysis of the struts2 of workflow and the type of conversion and input validation functions, the paper take the type conversion of the input data and validation for the university scientific research management system in the project to declare as an example, expounds the application of struts2 type conversion and input validation in actual project, and provides a practical reference value for Java Web application development.
关 键 词:STRUTS2框架 类型转换 输入校验 高校科研管理系统
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论] TP393.09[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7