package gcom.gui.portal; import gcom.gui.GcomAction; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; //import javax.servlet.http.HttpSession; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; /** * Classe Respons�vel por exibir Canais de Atendimento * * @author Erivan Sousa * @date 28/06/2011 */ public class ExibirCanaisAtendimentoCompesaAction extends GcomAction { public ActionForward execute(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) { String retorno = "exibirCanaisAtendimentoCompesaAction"; String method = httpServletRequest.getParameter("method"); if(method.equalsIgnoreCase("teleatendimento")){ retorno = "exibirTeleAtendimentoCompesaAction"; } if(method.equalsIgnoreCase("autoatendimento")){ retorno = "exibirAutoAtendimentoCompesaAction"; } return actionMapping.findForward(retorno); } }