Javascript or JSP Validation?
843835Jan 21 2002 — edited Jan 21 2002Hi everyone!
I been having problem in figuring out how to validate my form. Some say I should place simple validations in the client-side thru javascript (e.g. nulls or invalid formats for date). But what I have in mind is that even simple validations as described earlier will be done using JSP. Actually, I'm planning to use beans to have the elements of my form easily validated thru JSP. But they say I should have to unload some of the validations thru client-side javascripts. Will the application be more maintainable if I use javascript/JSP? Which is more efficient? Overall, which one will be of greater value?
Can you please enlighten me on this issue.
Thanks and more power!