<% if(request.getSession().getAttribute("username")!=null){ request.getSession().removeAttribute("username"); } out.println("<mce:script type="text/javascript"><!-- alert('您已成功注销登录!');this.location.href='index.html'; // --></mce:script>"); %>