問題:1.以post方式傳輸2M以上數據時,服務器無法接收到參數值。
2.使用的web server 是tomcat6
解決:據說tomcat的默認限制是2M,於是修改server.xml文件,增加maxPostSize="0",表示無限制
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
maxPostSize="0" />