添加引用
import org.directwebremoting.WebContextFactory;
使用如下方法获取HttpSession
HttpSession session = WebContextFactory.get().getSession();
import org.directwebremoting.WebContextFactory;
使用如下方法获取HttpSession
HttpSession session = WebContextFactory.get().getSession();
本文介绍了一种通过导入org.directwebremoting包并使用WebContextFactory.get().getSession()方法来获取HttpSession的方式。
922

被折叠的 条评论
为什么被折叠?



