Research on Implementation Method of the Double Validation based on JavaScript

A double validated method of browser and server based on JavaScript language is be proposed in this paper. It relates to the development field of Web application system based on Java EE, in order to solve the validation rules are not consistent of browser and server. It includes defining validation rules on the server side with the XML file; Implementation of browser validation method based on JavaScript; Implementation of the server side validation method based on JavaScript. The validation method proposed in this paper is applied to the minority resource database management system, it improve the efficiency of system development, reduce maintenance workload, improve the accuracy of validation, is a effective validation method.