第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

為什么集合綁定不設(shè)計(jì)成直接傳List,還要作為另外一個(gè)對(duì)象的屬性....?

為什么集合綁定不設(shè)計(jì)成直接傳List,還要作為另外一個(gè)對(duì)象的屬性....?

正在回答

3 回答

springMVC 不支持list類(lèi)型的直接轉(zhuǎn)換,需包裝成object。

1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_王翊_0 提問(wèn)者

非常感謝!
2016-05-03 回復(fù) 有任何疑惑可以回復(fù)我~

為什么我的數(shù)據(jù)綁定會(huì)出現(xiàn)這個(gè)錯(cuò)誤???請(qǐng)求是

http://localhost:8080/list.do?users[0].name=zhangsan


?Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.

?java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986

at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:467)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:294)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:748)


0 回復(fù) 有任何疑惑可以回復(fù)我~

springMVC中,List需要綁定在對(duì)象上,而不能直接寫(xiě)在Controller方法的參數(shù)中。

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

為什么集合綁定不設(shè)計(jì)成直接傳List,還要作為另外一個(gè)對(duì)象的屬性....?

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)