参考博客:https://blog.csdn.net/javabean96/article/details/54601136

问题:ajax在post方式下发送到后台的参数全部为null.

解决:tocat路径/conf/server.xml中,把maxPostSize="0"的配置去掉

tomcat 下post参数为空

原因:tomcat7.0的文档里面说maxPostSize不限制的设置是小于0

 

相关文章: