Can anyone please suggest me with some examples of how to validate data on the server side. I tried out the Javascript and looked at some regex methods. The regex methods actually use methods from the class Pattern. I cannot find examples that uses Validator class. I was told to read the Javadocs but I am not able to understand how those methods work.
So I would appreciate if anyone could provide me with links to examples for validation at the server side.
I love java but she hates me... :'(
Bear Bibeault
Author and opinionated walrus
Marshal
If you need to perform regular validation for a web application - you might have to choose from a host of third party validation frameworks available out there.
Most of them provide plugability into most of the web frameworks.
There is no standard way to validate data on the server side (as per the servlet specs) but most frameworks provide some sort of validation step (e.g. Struts 2 validation)