单项选择题
用什么方法可以从一个HTTP会话中获得对象?()
A.getAttribute method of javax.servlet.Session
B.getAttribute method of javax.servlet.http.HttpSession
C.getAttribute method of javax.servlet.http.Session
D.getAttribute method of javax.servlet.HttpSession
点击查看答案&解析
相关考题
-
单项选择题
用下面哪一种类型定义可以声明隐藏域?()
A.type="hide"
B.type="text"
C.type="password"
D.type="hidden"
E.type="file" -
单项选择题
()用于声明当前页为error页?
A.<%@ page errorPage="true" %>
B.<%@ page info="error" %>
C.<%@ page pageEndcoding="error" %>
D.<%@ page isErrorPage="true" %> -
单项选择题
在JSP内置对象中,哪个对象对客户的请求做出响应,向客户端输出信息?()
A.out
B.response
C.session
D.request
