解决问题可以参考此链接: http://huibin.iteye.com/blog/675707
关键代码 :out.clear(); out = pageContext.pushBody();
使用普元 使用下载时,下载完成后 后台会抛出异常 如:
[eos-default][2011-03-18 16:00:58,546][ERROR][com.eos.access.http.InterceptorFilter:182]
java.lang.IllegalStateException: getOutputStream() has already been called for this response
[eos-default][2011-03-18 16:00:58,546][ERROR][com.primeton.ext.engine.core.processor.AbstractPageFlowProcessor:649] error [com.hymake.projInfo.ProjFilling.flow?_flowKey=0565fa0d-699d-4dd7-8646-e98c0523ccb9.end2]
javax.servlet.ServletException: getOutputStream() has already been called for this response
[eos-default][2011-03-18 16:00:58,546][ERROR][com.eos.access.http.InterceptorFilter:182]
java.lang.IllegalStateException: Cannot forward after response has been committed