Proceedings of the 2015 International Industrial Informatics and Computer Engineering Conference

Research and Application on validation.xml of Struts2 Framework Verify File

Authors
Fenghua Li
Corresponding Author
Fenghua Li
Available Online March 2015.
DOI
10.2991/iiicec-15.2015.323How to use a DOI?
Keywords
Struts2; framework; validation file; validation.xml
Abstract

Input validation is the problem that need to solve for all Web applications, to calibrate data for its constraints and rules. The Struts2 framework provides a variety of check method, and validation.xml file is the most common method in this research. Firstly, study Struts2 framework architecture composed of three parts such as model, view and controller; Then, show the input checking process of Struts2 through a graphical mode ;Finally, the design of validation.xml validation file example, realizes the checkers such as required string, string length, integer, date and double precision floating point number. Using Validation.xml authentication of Struts2 has the advantages of convenient and suitable, and can also be combined with other methods in practical application.

Copyright
© 2015, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Download article (PDF)

Volume Title
Proceedings of the 2015 International Industrial Informatics and Computer Engineering Conference
Series
Advances in Computer Science Research
Publication Date
March 2015
ISBN
978-94-62520-54-7
ISSN
2352-538X
DOI
10.2991/iiicec-15.2015.323How to use a DOI?
Copyright
© 2015, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Cite this article

TY  - CONF
AU  - Fenghua Li
PY  - 2015/03
DA  - 2015/03
TI  - Research and Application on validation.xml of Struts2 Framework Verify File
BT  - Proceedings of the 2015 International Industrial Informatics and Computer Engineering Conference
PB  - Atlantis Press
SP  - 1452
EP  - 1455
SN  - 2352-538X
UR  - https://doi.org/10.2991/iiicec-15.2015.323
DO  - 10.2991/iiicec-15.2015.323
ID  - Li2015/03
ER  -