- ActionContext ctx = ActionContext.getContext();
- HttpServletRequest request =(HttpServletRequest)ctx.get(ServletActionContext.HTTP_REQUEST);
- HttpServletResponse response = (HttpServletResponse)
- ActionContext.getContext().get(org.apache.struts2.StrutsStatics.HTTP_RESPONSE);
struts2 拦截器Interceptor中取得request、response
最新推荐文章于 2023-06-08 14:55:17 发布