在用post方式提交的时候出现无法提交的情况,需要设置contenttype如下: reqEntity.setContentType("application/x-www-form-urlencoded");