linux下response.getOutputStream().print(html)有时会没有响应,在windows下一切正常.急,解决马上线分
环境如下
linux+weblogic9.0 有时会不正常
windows+weblogic9.1 正常
----------------
struts1.1的action相关代码如下
String[] str=javabean.getStr();
response.setContentType("text/html; charset=GBK");
try {
ServletOutputStream out = response.getOutputStream();
for (int i = 0; i < str.length; i++) {
out.print(str[i]);
}
} catch (IOException e) {
e.printStackTrace();
}
return null;
--------------------------
linux当out.print过程中的时候会突然停止,而且没有报错,客户端则一直处于等待状态.