Computer and Modernization ›› 2011, Vol. 1 ›› Issue (1): 85-3.doi:

• 应用与开发 • Previous Articles     Next Articles

Implementation of Validation Data and Integration Regular Expression Based on Struts2 Validation Framework

ZHOU Dong-chu1, JU Feng-juan2, GUO Dong-hui3   

  1. 1.Jiangxi Institute of Computing Technology, Nanchang 330002, China; 2.Jiangxi Blue Sky Institute, Nanchang 330098, China;3.Jiangxi Science and Technology Museum, Nanchang 330025, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-01-20 Published:2011-01-20

Abstract: Stuts2 is an expandable Java EE Web framework. It is able to control and integrate Web client. This article simply introduces the Struts2 framework and the concept and function of regular expression, and describes how the Struts2 framework validate data rule by regular expression.

Key words: Struts2, regular expression, data validation