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!
Try looking at Apache's Validator framework:
It can be used with Struts or independently.
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.
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.