在DWR类中获取HttpSession对象
添加引用
import org.directwebremoting.WebContextFactory;
使用如下方法获取HttpSession
HttpSession session = WebContextFactory.get().getSession();
import org.directwebremoting.WebContextFactory;
使用如下方法获取HttpSession
HttpSession session = WebContextFactory.get().getSession();
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。