1 64 65 package com.jcorporate.expresso.services.test; 66 67 import com.jcorporate.expresso.core.controller.ExpressoActionServlet; 68 import org.apache.struts.action.Action; 69 import org.apache.struts.action.ActionForm; 70 import org.apache.struts.action.ActionForward; 71 import org.apache.struts.action.ActionMapping; 72 import org.apache.struts.action.ActionMappings; 73 74 import javax.servlet.ServletConfig ; 75 import javax.servlet.ServletException ; 76 import javax.servlet.http.HttpServletRequest ; 77 import javax.servlet.http.HttpServletResponse ; 78 79 80 88 public class ActionTestServlet 89 extends ExpressoActionServlet { 90 protected static ActionTestServlet thisInstance = null; 91 92 public ActionTestServlet() { 93 super(); 94 } 95 96 97 100 public ActionMappings getActionMappings() { 101 return null; 103 104 } 105 106 public synchronized static ActionTestServlet getInstance(ServletConfig config) 107 throws ServletException { 108 if (thisInstance == null) { 109 thisInstance = new ActionTestServlet(); 110 thisInstance.init(config); 111 } 112 113 return thisInstance; 114 } 115 116 121 public ActionForm processActionForm(ActionMapping mapping, 122 HttpServletRequest request) { 123 124 125 return null; 127 } 128 129 134 public ActionForward processActionPerform(Action action, 135 ActionMapping mapping, 136 ActionForm formInstance, 137 HttpServletRequest request, 138 HttpServletResponse response) 139 throws java.io.IOException , 140 javax.servlet.ServletException { 141 142 143 return null; 146 } 147 } 148 | Popular Tags |