首页 > 代码库 > java -- getOutputStream() has already been called for

java -- getOutputStream() has already been called for

 

原文:https://my.oschina.net/zhongwenhao/blog/209653

原因:既调用了response.getOutputStream(),又调用了response.getWriter()。

因此:在同一流程分支中不能同时存在两者。

 

java -- getOutputStream() has already been called for