if (saveOK==1) {
out.print("修改成功!");
//response.sendRedirect("a.jsp");
<script LANGUAGE=javascript>
停留2秒
function a()
{
//do what you want,like:
window.history.go(-2);
}
window.setInterval('a();',2000);
</script>
}
out.print("修改成功!");
//response.sendRedirect("a.jsp");
<script LANGUAGE=javascript>
停留2秒
function a()
{
//do what you want,like:
window.history.go(-2);
}
window.setInterval('a();',2000);
</script>
}
应该就可以了
好象是<meta content="refresh=2;url=yourpage">