spring mvc 下载文件时 tomcat 报错getOutputStream() has already been called for this response

spring mvc 下载文件时 tomcat 报错getOutputStream() has already been called for this response

解决方法:

在tomcat6.0.14的版本会出现

getOutputStream() has already been called for this response  

在tomcat6.0.28中没有,解决办法是action最后必须是

return null


你可能感兴趣的:(spring mvc 下载文件时 tomcat 报错getOutputStream() has already been called for this response)