在登录jsp中添加以下代码(加到head里): <script language="JavaScript"> if (window != top) top.location.href = location.href; </script>