Using the Validator framework in struts

Using the Validator framework in struts

What is the Benefits of Using the Validator framework in struts ?

View Answers

November 19, 2010 at 6:37 PM

Hi friends,

Defination of Validator Framework :

Struts Framework provides the functionality to validate the form data. It can be use to validate the data on the users browser as well as on the server side. Struts Framework emits the java scripts and it can be used to validate the form data on the client browser. Server side validation of the form can be accomplished by sub classing your From Bean with DynaValidatorForm class.

The Validator framework was developed by David Winterfeldt as third-party add-on to Struts. Now the Validator framework is a part of Jakarta Commons project and it can be used with or without Struts. The Validator framework comes integrated with the Struts Framework and can be used without doing any extra settings.

struts validator framework has the following benifits...

1) A single definition of validation rules for an application.

2) Validation rules are loosely coupled to the application.

3) Server-side and client-side validation rules can be defined in one location.

4) Configuration of new rules and/or changes to existing rules are made simpler.

5) Supports Internationalization.

6) Supports regular expressions.

7) Can be used for both Web-based and standard Java applications.

8) Promotes a declarative approach rather than a programmatic one.

Thanks.









Related Tutorials/Questions & Answers:
Using the Validator framework in struts
Using the Validator framework in struts   What is the Benefits of Using the Validator framework in struts
Fixed Value check using struts validator framework
Fixed Value check using struts validator framework  Hi All, can anyone tell me how to use struts validator framework for fixed value check. eg. country='India'; Thanks in advance
Advertisements
Struts Validator Framework
Struts Validator Framework  What is Struts Validator Framework
Setup validator framework in Struts
Setup validator framework in Struts  How to Setup validator framework in Struts
validator framework work in Struts
validator framework work in Struts  How does validator framework work in Struts
sing validator framework work in struts
sing validator framework work in struts  How does client side validation using validator framework work in struts
Struts Validator Framework
Struts Validator Framework     ... Framework. In this lesson you will learn how to use Struts Validator Framework... to Validator FrameworkADS_TO_REPLACE_1 Struts Framework provides the functionality
validation using validator-rules.xml - Struts
validation using validator-rules.xml  Hi I am trying to validate my form using Validator-rules.xml. I am using Eclipse 3.0 Struts 1.1 and Tomcat 5.0 I have an index.jsp for which I have to validate using validator-rules.xml
USING THE VALIDATOR FRAMEWORK
STRUTS-VALIDATOR FRAMEWORK USING THE VALIDATOR FRAMEWORK       Validator framework requires two XML files, namely, alidator... of using the Validator framework, let us skip the helperbean and resultbean
Struts Validator Framework - lab oriented lesson
STRUTS-VALIDATOR FRAMEWORK R.S.Ramaswamy ( developeriq..Oct-2005...-framework based validation , is developed. We had seen an introduction to Struts... the use of Validator framework, with a lab-oriented lesson. ADS_TO_REPLACE_2
Struts 2 double validator
Struts 2 double validator       The Double validator of Struts 2 Framework checks if the given input is double... if using int-Validator Syntax otherwise not required minInclusive
Struts - Framework
it is better to go for Struts or any other framework. While if you are working... then it is not necessary to use struts or any other framework. Although various MVC frameworks are being used in production, but Struts is the most popular framework than
Struts - Framework
project and is open source. Struts Framework is suited for the application... using the View component. ActionServlet, Action, ActionForm and struts-config.xml... struts application ? Before that what kind of things necessary
Struts - Framework
in any other framework or else before starting struts. you just need to have... struts application ? Before that what kind of things necessary... that you are going to learn Struts. Just refer "http://www.roseindia.net
struts - Framework
struts  can show some example framework of struts  Hi Friend, Please visit the following links: http://www.roseindia.net/struts/ http://www.roseindia.net/struts/struts2/ Hope that the above links
using captcha with Struts - Struts
using captcha with Struts  Hello everybody: I'm developping a web application using Struts framework, and i would like to use captcha  Hi friend,Java Captcha in Struts 2 Application :http://www.roseindia.net
Struts framework
Struts framework  How to populate the value in textbox of one JSP page from listbox of another JSP page using Struts-html tag and java script
Struts framework
Struts framework  How to populate the value in textbox of one JSP page from listbox of another JSP page using Struts-html tag and java script
Struts 2 Date Validator
Struts 2 Date Validator       The Date validator in the Struts 2 Framework checks whether the supplied date lies... demonstrates how to use the date validator to check the input range. [ NOTE: If date
how to make a radiobutton selected when retrieving data from database using struts framework and spring jdbc
how to make a radiobutton selected when retrieving data from database using struts framework and spring jdbc  how to make a radio button selected when retrieving data from database using struts framework and spring jdbc
struts - Framework
Struts Spring Hibernate Integration  struts spring hibernate integration tutorial
struts - Framework
Struts design pattern  Please explain Struts design pattern
struts - Framework
struts  Tag libs in struts
struts - Framework
struts  i m doing clientside validation.using validation.xml.and using the example given by roseindia. but geting error... be defined in the Commons Validator configuration when dynamicJavascript="true
Struts Tutorial
, struts integration with other framework, Struts Validator Framework. What is Struts ?ADS_TO_REPLACE_1 Struts is an open source MVC based framework... framework is also called web framework. Struts is created on MVC based so
core classes of the Struts Framework
core classes of the Struts Framework  What are the core classes of the Struts Framework
struts - Framework
Struts flow of execution diagram  What is the structure of struts flow ..can you show it with the help of diagram
XML files used in Validator Framework?
XML files used in Validator Framework?  Give the Details of XML files used in Validator Framework
struts - Framework
struts  Hi,roseindia I want best example for struts Login... in struts...  Hi Friend, You can get login applications from the following links: 1)http://www.roseindia.net/struts/struts-login-form.shtml 2)http
Struts 2 E-mail Validator
Struts 2 E-mail Validator       The email validator in  Struts 2 Framework checks whether a given String... is  using Plain-Validator Syntax . EmailVaLidationAction
struts opensource framework
struts opensource framework  i know how to struts flow ,but i want struts framework open source code
Struts 2 RequiredString validator
Struts 2 RequiredString validator       This section discusses RequiredString validator of Struts 2 framework... the forms, required String validator will generate error message
Struts - Framework
Struts  Hi, I am doing a reverse engineering in a project based on struts 1.1,after seeing the log file, i encounter some lines that are written by applicatoin, following are the lines in log related to strtus while
Struts Framework
design pattern. Using Struts framework developer can develop, test and deploy... it as Struts 2 framework. These days developers are using Struts 2...An introduction to the Struts Framework This article is discussing about
Internationalization using struts - Struts
Internationalization using struts   Hi, I want to develop a web application in Hindi language using Struts. I have an small idea... to convert hindi characters into suitable types for struts. I struck here please
Struts - Framework
================== ........ ....... ......... ........ ================= struts-config.xml
struts - Framework
struts  SEVERE: Could not instantiate bean.i am geting this error while using a bean property in property tag.how to solve this.thnx   Hi friend, i am sending link. i hope, it will be helpful. http
Latest Version of Struts Framework
These days developers are using Struts Framework to develop and deploy...Complete detail and tutorials about the Latest Version of Struts Framework In this page we are listing the Latest Version of Struts Framework which is being
What is Struts Framework?
What is Struts Framework? Learn about Struts Framework This article is discussing the Struts Framework. It is discussing the main points of Struts framework... introduction to the Struts framework such as history, features and technology of Struts
Struts Framework - Apache Struts Framework an Introduction
Struts Framework - Apache Struts Framework an Introduction Apache Struts is open source framework that implements the MVC Design pattern. Apache Struts Framework is used to develop enterprise web applications. The Struts framework
Struts development application - Framework
Struts development application  hi friends, I want a source code for validation.xml,validation-rules.xml in DynaValidator framework regarding for struts framework,and what is difference b/w validation.xml and validation
JSP pages are provided in Struts framework?
JSP pages are provided in Struts framework?  What helpers in the form of JSP pages are provided in Struts framework
Introduction to Struts 2 Framework
. Welcome to the world of web application development using Struts 2 Framework... application using Struts 2.3.8 framework. We are using Struts 2.3.8 framework... of Struts 2 framework and then teach you how to develop your first application using
Struts in AJAX - Framework
Struts in AJAX  Dear Deepak Sir, How to use ajax in Struts Framework,if it is possible plz give me one simple example. Thanks & Regards, VijayaBabu.M  Hi, Struts 2 provides inbuilt support for Ajax and Dojo. Its
JSP pages are provided in Struts framework
JSP pages are provided in Struts framework  What helpers in the form of JSP pages are provided in Struts framework
Struts upload file - Framework
Struts upload file  Hi, I have upload a file from struts application.I am able to get the file name using getFileName() i created excel file and send to file upload struts..how to get the sheets and data in that sheets
Struts 2 Validation (Int Validator)
Visitor Validator Using Struts 2 Int Validator Following example...Struts 2 Validation (Int Validator)       Struts 2 Framework provides in-built validation functions to validate user
struts programming - Framework
struts programming  how to start programming using the struts2.0 by using eclipse europa and along with the jboss server
struts programming - Framework
struts programming  how to start programming using the struts2.0 by using eclipse europa and along with the jboss server
Problem dispalying Country, City, State in JSP using Ajax in Struts Framework - JSP-Servlet
Problem dispalying Country, City, State in JSP using Ajax in Struts... showing data from database using ajax, jquery.. but it is not working.. It is because I am using dv to add rows dynamically. If I try working without using div

Ads