第一次集合JSP使用AJAX的错,很急?高手帮哈忙
下面是出错信息:
2007-4-20 8:56:15 org.apache.jasper.runtime.PageContextImpl release
警告: Internal error flushing the buffer in release()
我是在JSP用out.println输出的表格:
out.println( " <table border= '0 ' cellspacing= '0 ' cellpadding= '0 ' width= '510 '> ");
if(list2!=null){
for(int i=0;i <list2.size();i++){
HashMap hashmap;
hashmap=(HashMap) list2.get(i);
int id=Integer.parseInt((String) hashmap.get( "GOODSINFOID "));
String PROCLASS=(String) hashmap.get( "PROCLASS ");
String TITLE=(String) hashmap.get( "TITLE ");
String PRICE=(String) hashmap.get( "PRICE ");
String hits=(String) hashmap.get( "HITS ");
String newTitle=TITLE.substring(0,10);
out.println( " <tr> ");
out.println( " <td width= '85 ' align= 'center '> "+PROCLASS+ " </td> <td width= '170 ' align= 'left '> "+newTitle+ " </td> <td width= '85 ' align= 'center '> "+hits+ " </td> <td width= '85 ' align= 'center '> "+PRICE+ " </td> <td width= '85 ' align= 'center '> > > > </td> ");
out.println( " </tr> ");
}
out.println( " </table> ");
out.close();
}
服务器TOMCAT5.0.28
请高手指点,谢谢了!
------解决方案--------------------你去掉out.close();看下~~
------解决方案--------------------把out.close();去掉应该就好了。