基于Struts2的数据输入处理的应用研究  被引量:1

Application research of data entry processing based on Struts2

在线阅读下载全文

作  者:聂常红[1] 

机构地区:[1]广州大学华软软件学院,广东广州510990

出  处:《信息技术与信息化》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[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象