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

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

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

tomcat 下post参数为空

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

 

相关文章:

  • 2021-10-07
  • 2021-12-05
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
猜你喜欢
  • 2022-02-17
  • 2021-09-21
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-11-24
相关资源
相似解决方案