不刷新问题,改为
<%response.sendRedirect("index.jsp?refresh="+(new java.util.Date()));%> 

解决方案 »

  1.   

    在删除时,多等一阵,再返回就没有这种现象了
    在deldata.jsp用下面javascript语句
    代替response.sendRedirect.
    <head>
    <script language="javascript"> 
    function closeWin() 

      window.top.location.replace("index.jsp");
    }
    </script>
    </head> 
    <body onload="setTimeout('closeWin()',500);">
    <center><p>Deleting...,Please Waiting</p></center>
    </body>是不是sendRedirect返回太快,index中的conn只察觉到只有第一个数据被删除的原因?
      

  2.   

    这个问题我也碰到过。
    假如用open打开就没事了,到现在还不知道为什么。
    :(
    (我用的是oracle的开台)
      

  3.   

    KAO,
    "
    不刷新问题,改为
    <%response.sendRedirect("index.jsp?refresh="+(new java.util.Date()));%> 
    "居然不行,那就改服务器设置吧(如果只是为了骗老板,则把浏览器设置改一改也行);
    上面加上一个当前TIME参数的目的是因为TIME值总不一样,当客户端请求时,服务器发现请求页面的参数变了,所以会重新生成一个页面输出给客户端,(我要走了)