搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【简答题】

HttpSession与Hibernate中Session的区别

更多“HttpSession与Hibernate中Session的区别”相关的问题
第1题

A、Hibernat的对象只有一种状态  B、Hibernat的对象有2种状态  C、Hibernat的对象有3种状态  D、Hibernat的对象有4种状态  

点击查看答案
第2题

A、Servlet容器负责创建HttpSession对象  B、每个HttpSession对象都有惟一的ID  C、HttpSession的数据保存在客户端  D、对客户端每次请求服务器都会创建HttpSession对象  

点击查看答案
第3题

A、HttpSession session=request.getSession(true)  B、HttpSession session=request.getHttpSession(true)  C、HttpSession session=response.getSession(true)  D、HttpSession session=response.getHttpSession(true)  

点击查看答案
第4题

A、A.绑定到HttpSession对象上的属性在应用程序的生存期内总是有效的  B、B.会话属性是特定用户的专用数据,同时访问WEB应用的其他用户无法访问这些属性  C、C.使用HttpSession对象的addAttribute方法添加会话属性  D、D.使用HttpSession对象的removeAttributeNames方法删除会话属性  

点击查看答案
第5题

A、HttpSession session = request.getSession();  B、HttpSession session = request.getSession(id);  C、HttpSession session = request.getSession(true);  D、HttpSession session = request.getSession(false);  E、HttpSession session = request.getSession("jsessionid");  

点击查看答案
第6题

A、HttpServletRequest;getSession  B、HttpServletRequest;NewSession  C、HttpSession;newInstance  D、HttpSession;getSession  

点击查看答案
第7题

A、A. HttpSession session = request.getSession();  B、B. HttpSession session = request.getSession(id);  C、C. HttpSession session = request.getSession(true);  D、D. HttpSession session = request.getSession(false);  E、E. HttpSession session = request.getSession(“jsessionid”)  

点击查看答案
第8题

A、HttpServletRequest类的getSession方法有两个:带参数的getSession方法和不带参数的getSession方法  B、在Servlet中,可以使用HttpSession session = new HttpSession()创建session对象  C、如果HttpServletRequest类的getSession方法的参数为false,表示如果没有当前的请求相联系的会话对象时,该方法返回null  D、如果HttpServletRequest类的getSession方法的参数为true,表示如果没有当前的请求相联系的会话对象时,该方法返回null  

点击查看答案
第9题

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 methodof javax.servlet.HttpSession  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服