jsp清空session值的语句是什么??? 呵呵,来迟了,同意 zxhong(红) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 有没有一下清空所有session的语句?3楼的就是这个么? 对,httpsession.invalidate();是清空所有session的语句,不过是在servlet里用的,源代码:public void doGet(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse) throws ServletException, IOException{ HttpSession httpsession = httpservletrequest.getSession(); httpsession.invalidate(); } 新浪微博登录 struts2查询数据库 请教一个正则表达式的问题 struts2 标签 checkboxlist 隐藏 GOOGLE找不到解答来这里面 怎么在MYECLIPSE里创建一个监听类吖 页面转发问题 关于浏览器的状态栏~~ jsp问题 ************标签库应用中的中文问题************ 100分求救:这段标记库程序,为什么scriptlet变量值为空。 tomcat里如何部署非webapps目录下的jsp ,up有分 问关于在jsp写的网页之间传递参数的问题!请大家多多帮忙!
3楼的就是这个么?
public void doGet(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
throws ServletException, IOException
{
HttpSession httpsession = httpservletrequest.getSession();
httpsession.invalidate();
}