HttpServletRequest接口的()方法用于创建会话。
第1题:
HttpServletRequest接口的( )方法用于创建会话
A、getSession()
B、getServletContext()
C、setSession();
D、putSession();
第2题:
A.getAttribute()
B.setAttribute()
C.setSession()
D.getSession()
第3题:
A、HttpServletResponse接口的rewriteURL()方法
B、HttpServlet接口的rewriteURL()方法
C、HttpServletRequest接口的encodeURL()方法
D、HttpServletResponse接口的encodeURL()方法
第4题:
J2EE中,哪个类的哪个方法用于创建对话?()
第5题:
在public HttpSession getSession(boolean bool)的方法定义中,当bool为false时表明()
第6题:
A.response.getSession()
B.request.setSession()
C.response.setSession()
D.request.getSession()
第7题:
A.HttpServletRequest、getSession
B.HttpServletResponse、newSession
C.HtttpSession、newInstance
D.HttpSession、getSession
第8题:
A.HttpServletRequest类的getSession方法有两个:带参数的getSession方法和不带参数的getSession方法
B.在Servlet中,可以使用HttpSessionsession=newHttpSession()创建session对象
C.如果HttpServletRequest类的getSession方法的参数为false,表示如果没有与当前的请求相联系的会话对象时,该方法返回null
D.如果HttpServletRequest类的getSession方法的参数为true,表示如果没有与当前的请求相联系的会话对象时,该方法返回null
第9题:
ServletContext接口的()方法用于将对象保存到Servlet上下文中。
第10题:
在Java Web开发中,要在服务器端查询cookie,要用到HttpServletRequest的哪个方法?()