www.pudn.com > Jsp-Blog.rar > loginout.jsp, change:2010-05-26,size:349b


<%@page language="java" contentType="text/html;charset=utf-8"%> 
 
<html> 
  <head> 
   <title>logout</title> 
  </head> 
   
  <body> 
    <% 
   String  username =session.getAttribute("username").toString(); 
   username="tourist"; 
session.setAttribute("username",username); 
    	response.sendRedirect("index.jsp"); 
    %> 
  </body> 
</html>