1 16 package org.springframework.webflow.executor.struts; 17 18 import javax.servlet.ServletContext ; 19 import javax.servlet.http.HttpServletRequest ; 20 import javax.servlet.http.HttpServletResponse ; 21 22 import org.apache.struts.action.ActionForm; 23 import org.apache.struts.action.ActionMapping; 24 import org.springframework.webflow.context.servlet.ServletExternalContext; 25 26 32 public class StrutsExternalContext extends ServletExternalContext { 33 34 37 private ActionMapping actionMapping; 38 39 42 private ActionForm actionForm; 43 44 52 public StrutsExternalContext(ActionMapping mapping, ActionForm form, ServletContext context, 53 HttpServletRequest request, HttpServletResponse response) { 54 super(context, request, response); 55 this.actionMapping = mapping; 56 this.actionForm = form; 57 } 58 59 62 public ActionForm getActionForm() { 63 return actionForm; 64 } 65 66 69 public ActionMapping getActionMapping() { 70 return actionMapping; 71 } 72 } | Popular Tags |