现在的位置: 首页 > 综合 > 正文

在DWR类中获取HttpSession对象

2012年11月28日 ⁄ 综合 ⁄ 共 125字 ⁄ 字号 评论关闭
添加引用
import org.directwebremoting.WebContextFactory;

使用如下方法获取HttpSession
HttpSession session = WebContextFactory.get().getSession();

【上篇】
【下篇】

抱歉!评论已关闭.