2010年1月18日

ActionContext和ServletActionContext小结

摘要: 1. ActionContext在Struts2开发中,除了将请求参数自动设置到Action的字段中,我们往往也需要在Action里直接获取请求(Request)或会话(Session)的一些信息,甚至需要直接对JavaServlet Http的请求(HttpServletRequest),响应(HttpServletResponse)操作. 我们需要在Action中取得request请求参数"u... 阅读全文

posted @ 2010-01-18 17:20 挨踢民工 阅读(58565) 评论(12) 推荐(10) 编辑

导航