mercredi 25 mars 2015

POST of Spring edit form on Tomcat 8 fails with 405 while on tomcat 7 works

Setting an invalid value in the edit form (bigger value than the Long limit) causes a 405 on submit (POST) on tomcat 8.


Same submit on tomcat 7 works as expected and shows a field binding error:


Failed to convert property value of type java.lang.String to required type java.lang.Long for property userId; nested exception is java.lang.NumberFormatException: For input string: "56345345345345345345345345"


Any idea?


Aucun commentaire:

Enregistrer un commentaire