A.HttpServletRequest、getSession
B.HttpServletResponse、newSession
C.HtttpSession、newInstance
D.HttpSession、getSession
第1题:
A.实体bean与会话bean
B.包容器管理持久化和由bean管理持久化的实体bean
C.有状态实体bean和无状态实体bean
D.消息实体bean和无消息实体bean
第2题:
A.getDocumentElement方法
B.getElementsByTagName方法
C.getElementTagName方法
D.getElementById方法
第3题:
J2EE 中,()类的()方法用于创建对话。
A.HttpServletRequest、getSession
B.HttpServletResponse、newSession
C.HtttpSession、newInstance
D.getSession
第4题:
A.使用URL对象的openConnection()方法得到
B.使用URLConnection类的静态方法openConnection()方法得到
C.使用URL对象的getConnection()方法得到
D.使用URLConnection类的静态方法getConnection()方法得到
第5题:
A.HttpServletRequest类的getSession方法有两个:带参数的getSession方法和不带参数的getSession方法
B.在Servlet中,可以使用HttpSessionsession=newHttpSession()创建session对象
C.如果HttpServletRequest类的getSession方法的参数为false,表示如果没有与当前的请求相联系的会话对象时,该方法返回null
D.如果HttpServletRequest类的getSession方法的参数为true,表示如果没有与当前的请求相联系的会话对象时,该方法返回null