400錯(cuò)誤 ,url里seckillId顯示為undefined
org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver.handleTypeMismatch Failed to bind request element: org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"
2016-12-01
額,其實(shí)是在detail.jsp里傳值的對(duì)象單詞拼錯(cuò)了。。。
2016-11-30
類型轉(zhuǎn)換錯(cuò)誤啊,seckillId需要long類型,你給了個(gè)String