I have a class with a java.util.Date field that I wish to pass from a client to a Spring controller. The controller returns HTTP 415 whenever I make the request. I have trie
Instead of string, just pass date object from jsp as below.
var date = new Date(); var formData = {'date':date};
And in the dto, make variable of type java.util.Date.