Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Add validation plug-in into the struts-config.xml
  2. Put definitions in validation.xml
  3. Add to the page:
    1. In the head section: <html:javascript formName="<form_name>" />
    2. for the form tag: onsubmit="return validate<form_name>(this)"
  4. Create application resource file with required keys (if does not exist yet)
  5. Add reference to resource file into the struts-config.xml

...