1.

Explain the difference between plain-validator and field-validator in Struts?

Answer»

Field validators

  • Act on SINGLE fields that are accessible through action
  • More generic
  • Offer validations in full content

Non-field validators

  • Only add action level messages
  • Mostly domain specific
  • Offer CUSTOM implementations
  • Allows to declare both TYPES of validators


Discussion

No Comment Found