1 17 package org.apache.geronimo.console.apache.jk; 18 19 import org.apache.geronimo.console.MultiPageModel; 20 21 import javax.portlet.ActionRequest; 22 import javax.portlet.ActionResponse; 23 import javax.portlet.PortletException; 24 import javax.portlet.RenderRequest; 25 import javax.portlet.RenderResponse; 26 import java.io.IOException ; 27 28 33 public class IndexHandler extends BaseApacheHandler { 34 public IndexHandler() { 35 super(INDEX_MODE, "/WEB-INF/view/apache/jk/index.jsp"); 36 } 37 38 public String actionBeforeView(ActionRequest request, ActionResponse response, MultiPageModel model) throws PortletException, IOException { 39 return getMode(); 40 } 41 42 public void renderView(RenderRequest request, RenderResponse response, MultiPageModel model) throws PortletException, IOException { 43 } 44 45 public String actionAfterView(ActionRequest request, ActionResponse response, MultiPageModel model) throws PortletException, IOException { 46 return AJP_MODE+BEFORE_ACTION; 47 } 48 } 49 | Popular Tags |