1 20 21 package com.methodhead.util; 22 23 import org.apache.struts.action.ActionMapping; 24 import org.apache.struts.action.DynaActionForm; 25 import javax.servlet.http.HttpServletRequest ; 26 import javax.servlet.http.HttpServletResponse ; 27 import com.methodhead.auth.AuthUser; 28 29 35 public class OperationContext { 36 37 39 public OperationContext( 40 ActionMapping mapping, 41 DynaActionForm form, 42 HttpServletRequest request, 43 HttpServletResponse response, 44 AuthUser user ) { 45 46 this.mapping = mapping; 47 this.form = form; 48 this.request = request; 49 this.response = response; 50 this.user = user; 51 } 52 53 55 57 59 61 63 public ActionMapping mapping = null; 64 public DynaActionForm form = null; 65 public HttpServletRequest request = null; 66 public HttpServletResponse response = null; 67 public AuthUser user = null; 68 } 69 | Popular Tags |