Server side validation!!!


Web tier: servlets, JSP, Web frameworks: Server side validation!!!

  1. Server side validation!!! (2 messages)

    I have a problem regarding server side validation.I work on a project that needs server side validation.The problem is that we need the validation rules in an external file so that we can manipulated later.It will ne better and faster.
    Thank you and a solution will be grate!

    Threaded Messages (2)

  2. Server side validation!!![ Go to top ]

    Try looking at Apache's Validator framework:

    It can be used with Struts or independently.
  3. Server side validation!!![ Go to top ]

    Might be helpful to have a set of small class to load the property/rule file and the serverside classes (including EJB) access them thru a Rule Manager.
    [Singleton impl]

    Like session bean request RuleManager to get the rule when validating. And also the Rule manager is intelligent enough to get update himself when a rule changes. You could use a self-triggering Thread in every n second.