What is more secure and advantageous client side validation using javascript or
server side validation using struts validator framework..???
I am working on e-commerce application
What is more secure and advantageous client side validation using javascript or server side
Share
You can not compare both since both have different scopes and use-cases
I will strongly suggest to go with both, client side validation are more with respect to user centric and showing some general error to user but do not provide deep level of data checking for the user inputs.
Go ahead with server side validation before triggering any of your business logic which always help to maintain data consistency.