單項選擇題下列哪項不是HttpServlet的方法()
A.init()
B.destroy()
C.doPost()
D.execute()
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題下列哪種方式可以在session中保存一個名為"name",值為"newer"的屬性()
A.request.getSession().setAttribute(“name”,"newer")
B.request.getSession().getAttribute(“ID”,id);
C.request.getSession().setParameter(“ID”,id);
D.request.getSession().getParameter(“ID”,id)
2.多項選擇題下面關(guān)于HttpSession的說法正確的是()
A.Servlet容器負責(zé)創(chuàng)建HttpSession對象
B.每個HttpSession對象都有惟一的ID
C.HttpSession的數(shù)據(jù)保存在客戶端
D.對客戶端每次請求服務(wù)器都會創(chuàng)建HttpSession對象