A.request.getSession().setAttribute(“name”,"newer") B.request.getSession().getAttribute(“ID”,id); C.request.getSession().setParameter(“ID”,id); D.request.getSession().getParameter(“ID”,id)
A.Servlet容器負(fù)責(zé)創(chuàng)建HttpSession對象 B.每個HttpSession對象都有惟一的ID C.HttpSession的數(shù)據(jù)保存在客戶端 D.對客戶端每次請求服務(wù)器都會創(chuàng)建HttpSession對象
A.應(yīng)用程序的src目錄 B.應(yīng)用程序的/WEB-INF/lib目錄 C.Tomcat的根目錄 D.Tomcat5.5的common/lib目錄