/* * LogOffAction.java * * * Created on 09 de Dezembro de 2002, 16:37 * * * Autores : * - Nuno Nunes (nmsn@rnl.ist.utl.pt) * - Joana Mota (jccm@rnl.ist.utl.pt) * */ package net.sourceforge.fenixedu.presentationTier.Action.commons; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; /** * * @author Nuno Nunes (nmsn@rnl.ist.utl.pt) Joana Mota (jccm@rnl.ist.utl.pt) * */ public class VoidAction extends Action { /** * This Action is used when you want to just forward. This exists so that * even when you just forward from a link you check to see if the session is * valid */ public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { return mapping.findForward("Success"); } }