Results 1 to 3 of 3

Thread: Searching for struts validator tutorial

  1. #1
    Join Date
    May 2008
    Posts
    27

    Searching for struts validator tutorial

    Hi,

    I am just searching for a good tutorial for Struts Validator.

    If you guys know of any good tutorial on struts validator framework do let me know.

    Thanks in advance
    fldrice

  2. #2
    Join Date
    Apr 2008
    Posts
    23

    Re: Searching for struts validator tutorial

    Validators: Introducing Struts Validator Framework

    Validation is an important part of many web applications. Input can be validated on the client side or the server side. The Validator framework can be used to simplify input validations on both sides.

    Client side validation is the holy grail of web development. Any web application that does not utilize forms to gather user information would be a rarity. For a developer, web forms are synonymous with input validation. The process of validating the input can be carried out at two places -- either at the client side or at the server-side.
    Server-side validation is not a popular choice in many situations due to the round trip factor. That means the data is validated at server-side and the result is sent to the client. So just to validate, an extra request-response cycle is required. Hence, client-side validation is preferred over server-side validation.

  3. #3
    Join Date
    May 2008
    Posts
    44

    Re: Searching for struts validator tutorial

    Struts Validator Framework Tutorial with Example

    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.

    Using Validator Framework

    Validator uses the XML file to pickup the validation rules to be applied to an form. In XML validation requirements are defined applied to a form. In case we need special validation rules not provided by the validator framework, we can plug in our own custom validations into Validator.

    The Validator Framework uses two XML configuration files validator-rules.xml and validation.xml. The validator-rules.xml defines the standard validation routines, these are reusable and used in validation.xml. to define the form specific validations. The validation.xml defines the validations applied to a form bean.

Similar Threads

  1. The IsValid property of the Validator Controls
    By Chillam in forum Software Development
    Replies: 3
    Last Post: 26-02-2011, 09:00 AM
  2. Validator issue in Adobe CS5
    By Jesus2 in forum Windows Software
    Replies: 5
    Last Post: 15-07-2010, 01:46 AM
  3. Replies: 3
    Last Post: 22-09-2009, 01:12 PM
  4. CSS (Cascading Style Sheets) Validator
    By Rebella in forum Software Development
    Replies: 2
    Last Post: 15-04-2009, 10:02 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,892,118.43512 seconds with 17 queries