1 37 38 package com.sun.j2ee.blueprints.consumerwebsite.actions; 39 40 import javax.servlet.http.HttpServletRequest ; 42 import javax.servlet.http.HttpServletResponse ; 43 44 import com.sun.j2ee.blueprints.signon.web.SignOnFilter; 46 47 import com.sun.j2ee.blueprints.waf.controller.Event; 49 import com.sun.j2ee.blueprints.waf.controller.web.html.HTMLActionSupport; 50 import com.sun.j2ee.blueprints.waf.controller.web.html.HTMLActionException; 51 52 import com.sun.j2ee.blueprints.consumerwebsite.AdventureKeys; 54 59 public class SignOffHTMLAction extends HTMLActionSupport { 60 61 67 public Event perform(HttpServletRequest request) 68 throws HTMLActionException { 69 try { 71 request.getSession().invalidate(); 72 } catch (Exception e) { 73 } 75 return null; 77 } 78 } 79 | Popular Tags |