1 19 20 package com.sslexplorer.navigation.actions; 21 22 import javax.servlet.http.HttpServletRequest ; 23 import javax.servlet.http.HttpServletResponse ; 24 25 import org.apache.commons.logging.Log; 26 import org.apache.commons.logging.LogFactory; 27 import org.apache.struts.action.ActionForm; 28 import org.apache.struts.action.ActionForward; 29 import org.apache.struts.action.ActionMapping; 30 31 import com.sslexplorer.core.actions.DefaultAction; 32 import com.sslexplorer.security.SessionInfo; 33 34 38 39 public class FailedFileDownloadAction extends DefaultAction { 40 final static Log log = LogFactory.getLog(FailedFileDownloadAction.class); 41 42 45 public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) 46 throws Exception { 47 return mapping.findForward("display"); 48 } 49 50 53 public int getNavigationContext(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { 54 return SessionInfo.ALL_CONTEXTS; 55 } 56 57 } | Popular Tags |