I have a requirement to submit payment information to the database. For which I need to validate the details from the client side browser using JavaScript and then collect the information through the spring and submitted to the database.
So how can I do the JavaScript validation from the client side and then forwarding it to web spring and then submitting to database?