获取HttpServletRequest / HttpSession / ServletContext / HttpServletResponse对象
方法一,通过 ServletActionContext. 类直接获取: public String rsa() throws Exception{ HttpServletRequest request = ServletActionContext .getRequest(); ServletContext servletContext = ServletAc