在actionBean中创建session: session.getAttribute("current_user");
从actionBean到JSP页面,我用的是转发:mapping.findForward("main");
页面中,session.getAttribute("current_user")取值却为空。
session的作用域和request的相同了,匪夷所思。
帮忙解决!
从actionBean到JSP页面,我用的是转发:mapping.findForward("main");
页面中,session.getAttribute("current_user")取值却为空。
session的作用域和request的相同了,匪夷所思。
帮忙解决!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货