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


setting invalid value in edit form (bigger value long limit) causes 405 on submit (post) on tomcat 8.

same submit on tomcat 7 works expected , shows field binding error:

failed convert property value of type java.lang.string required type java.lang.long property userid; nested exception java.lang.numberformatexception: input string: "56345345345345345345345345"

any idea?

the max value long 9223372036854775807. number bigger it. try bigdecimal parameter or string , parse bigdecimal.


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

Non Unique Username with ASP.Net Identity 2.0 -