1 18 package org.apache.beehive.netui.pageflow.internal; 19 20 import org.apache.struts.action.Action; 21 import org.apache.struts.action.ActionForward; 22 import org.apache.struts.action.ActionMapping; 23 import org.apache.struts.action.ActionForm; 24 import org.apache.beehive.netui.pageflow.FlowController; 25 26 import javax.servlet.http.HttpServletRequest ; 27 import javax.servlet.http.HttpServletResponse ; 28 29 public class FlowControllerAction 30 extends Action 31 { 32 private FlowController _flowController; 33 34 35 public FlowControllerAction( FlowController flowController ) 36 { 37 _flowController = flowController; 38 } 39 40 public FlowController getFlowController() 41 { 42 return _flowController; 43 } 44 45 public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, 46 HttpServletResponse response ) throws Exception 47 { 48 return _flowController.execute( mapping, form, request, response ); 49 } 50 } 51 | Popular Tags |