请大家看一看呀~~我这是哪里错了呢??---必须要手动刷新jsp才看见作了删除?
角落的青苔 2002-06-27 03:37:13 但是为什么我在friend.jsp作出删除后页面没变呢~~必须要手动刷新才看见作了删除?
我在friend.jsp里有
<script language="JavaScript">
function del(string)
{ if (confirm("您真的要删除吗?")==1)
document.location="delfriend.jsp?F_ID="+string;
}
</script>
其中连接调用为<a href='javascript:del("24")'>删除</a>
另在delfriend.jsp里有response.sendRedirect("friend.jsp");
//删除后回到friend.jsp
请哪位大虾帮帮忙哈~~我在线等候哦^_^