package sample.ac;
import javax.servlet.http.*;
import org.apache.struts.action.*;
import org.apache.struts.actions.DispatchAction;
public class DispatchCheckAction extends DispatchAction {
public ActionForward dispatchTestA(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) {
System.out.println("dispatchTestA 実行!!");
return mapping.findForward("successA");
}
public ActionForward dispatchTestB(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) {
System.out.println("dispatchTestB 実行!!");
return mapping.findForward("successB");
} }
|