parameter 参数是用反射的机制来找到Action 中相应的方法.
例如:<action attribute="roleForm" name="roleForm" path="/role"
scope="request" type="action.RoleAction"
parameter="method" />
在JSP 也面 如果参数 method = init 那将调用RoleAction中的 public ActionForward init(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)方法
例如:<action attribute="roleForm" name="roleForm" path="/role"
scope="request" type="action.RoleAction"
parameter="method" />
在JSP 也面 如果参数 method = init 那将调用RoleAction中的 public ActionForward init(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)方法
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货