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

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -