当页面是本地页面时,通过ajax访问tomcat里的action,传递的参数在action里并不能识别,这个问题困扰了我不少时间。 在测试时发现此问题 转载于:https://www.cnblogs.com/oymx/p/3783513.html