Ways Struts allow to validate user input - struts and ajax

Explain the ways Struts allow to validate user input.

- The following are the different ways that struts allow the user input validation

Validators :
- Validators handle native and common types. The validations for basic operations are mask, required, minLength, maxLength, native types, date, email, range etc.

Resource bundle :
- These are used to provide the localized labels, messages and share by default the struts messages.

XML configuration file :
- This file specifies the form set and validates for the form fields as and how needed. The validators for these files can be defined in a separate file.

JSP tag :
- Used and generates the validations for a given form using the java script validations.

ValidatorForm :
- Used to automatically validate the properties that is based on the form bean’s name.

ValidatorActionForm :
- The validation takes place automatically on properties which is based on the action path.
Struts validation and Ajax validation - struts and ajax
Ajax Validations, Validators, Resource bundle, XML configuration file, JSP tagValidatorForm, ValidatorActionForm...
Ajax integrates very well easily with Struts - struts and ajax
Ajax integrates with struts. With the help of sending the request to the specific URL, an AJAX request can call any struts action...
30 Hibernate Interview Questions and Answers - Freshers, Experienced
Hibernate interview questions and answers for freshers and experienced - Object Relational Model, advantages of ORM, Hibernate framework, how to configure Hibernate, Hibernate Template, Hibernate proxy related interview.....
Post your comment