1 20 21 package com.methodhead.transfer; 22 23 import org.apache.struts.action.Action; 24 import org.apache.struts.action.ActionMapping; 25 import org.apache.struts.action.ActionForm; 26 import org.apache.struts.action.ActionForward; 27 28 import javax.servlet.http.HttpServletRequest ; 29 import javax.servlet.http.HttpServletResponse ; 30 import com.methodhead.util.OperationContext; 31 import com.methodhead.res.ResGlobals; 32 33 public class HomeAction 34 extends 35 com.methodhead.shim.HomeAction { 36 37 39 41 43 45 49 protected ActionForward doSwitch( 50 OperationContext op, 51 Object policy ) 52 throws 53 Exception { 54 55 op.request.getSession().removeAttribute( ResGlobals.FILETREE_KEY ); 56 57 return super.doSwitch( op, policy ); 58 } 59 60 62 } 64 | Popular Tags |