多项选择题
Cookie的特性有()。
A.cookie有名称/值对
B.cookie保存在客户端
C.cookie中的信息在HTTP请求和响应的主体中交换
D.cookie有可以设置的生命周期
点击查看答案&解析
相关考题
-
单项选择题
J2EE中,哪个类的哪个方法用于创建对话?()
A.HttpServletRequest、getSession
B.HttpServletResponse、newSession
C.HtttpSession、newInstance
D.HttpSession、getSession -
单项选择题
设置session的有效时间使用的是该对象的什么方法?()
A.setAttribute()方法
B.getMaxInactiveInterval()方法
C.setMaxInactiveInterval()方法
D.setTime()方法 -
多项选择题
MVC模式中一般情况servlet可以担任哪些角色?()
A.Controller中接受用户请求
B.View中返回响应信息,刷新用户界面
C.Model中处理业务逻辑
D.访问Model中的元素
