EJB2.0/3.0 LogOff功能

<%@ page language="java" contentType="text/html;charset=utf-8" import="java.util.*,javax.naming.*,javax.servlet.http.*,org.jboss.security.*"%>

<%

    ((HttpSession)request.getSession()).invalidate();

    SecurityAssociation.clear();

%>

<html>

    <head>

    <meta http-equiv="Refresh" content="1;URL=http:index.jsp">

    </head>

<body>

    已退出...<br>

</body>

你可能感兴趣的:(logo)