利用session對(duì)象獲得數(shù)據(jù)的?
session.setAttribute("rand",sRand);
HttpServletRequest request = ServletActionContext.getRequest();String RealRandomCode =(String)request.getSession().getAttribute("rand");
利用session對(duì)象獲得數(shù)據(jù)的?
session.setAttribute("rand",sRand);
HttpServletRequest request = ServletActionContext.getRequest();String RealRandomCode =(String)request.getSession().getAttribute("rand");