1 16 17 package org.apache.struts.chain.servlet; 18 19 20 import org.apache.commons.chain.Context; 21 import org.apache.commons.chain.web.servlet.ServletWebContext; 22 import org.apache.struts.action.Action; 23 import org.apache.struts.action.ActionForm; 24 import org.apache.struts.action.ActionMapping; 25 import org.apache.struts.chain.AbstractExecuteAction; 26 import org.apache.struts.config.ActionConfig; 27 import org.apache.struts.config.ForwardConfig; 28 29 30 36 37 public class ExecuteAction extends AbstractExecuteAction { 38 39 40 42 43 55 protected ForwardConfig execute(Context context, 56 Action action, 57 ActionConfig actionConfig, 58 ActionForm actionForm) 59 throws Exception { 60 61 ServletWebContext swcontext = (ServletWebContext) context; 62 return (action.execute((ActionMapping) actionConfig, 63 actionForm, 64 swcontext.getRequest(), 65 swcontext.getResponse())); 66 67 } 68 69 70 } 71 | Popular Tags |