struts2訪問web資源的幾種形式

• 在 Action 中 , 能夠經過如下方式訪問 web 的 HttpSession , HttpServletRequest , HttpServletResponse   等資源 – 與 ServletAPI 解耦的訪問方式 經過 import com.opensymphony.xwork2.ActionContext; 經過 Action 實現以下接口 import org.apache.
相關文章
相關標籤/搜索