单项选择题X 纠错

A. The value returned needs to be cast to an int.
B. The getAttribute methos takes two arguments.
C. Primitive CANNOT be stored in the HttpSession.
D. The HttpSession attribute name must NOT exceed eight characters.

参考答案:
查答案就用赞题库小程序 还有拍照搜题 语音搜题 快来试试吧
无需下载 立即使用

你可能喜欢

多项选择题

A. All URLs returned by the server are rewritten.
B. An HttpSession object is created if necessary.
C. The user name and password of the user are checked.
D. The session ID is stored in the HTTP response as a cookie.

单项选择题

A. javax.servlet.http.HttpSessionListener
B. javax.servlet.http.HttpSessionBindingListener
C. javax.servlet.http.HttpSessionCreationListener
D. javax.servlet.http.HttpSessionActivationListener

多项选择题

A. The session object must be declared explicity.
B. The request and response objects are available implicity.
C. The output stream is available through the implicit outStream object.
D. The servlet context is available through the implicit servletContext object.
E. The JspContext for the tag file is available through the implicit jspContext object.

单项选择题

A. pageContext.getAttribute(“foo”);
B. getPageContext().getAttribute(“foo”);
C. pageContext.getApplicationScope(“foo”);
D. pageContext.getAttribute(“foo”,pageContext.APPLICATION_SCOPE).getAttribute(“foo”);
E. getPageContext().getScope(pageContext.APPLICATION_SCOPE).getAttribute(“foo”);

多项选择题

A. WAR files must be located in the web application library directory.
B. WAR files must contain the web application deployment descriptor.
C. WAR files must be created by using archive tools to designed specifically for that purpose. 
D. The web container must serve the content of any META-INF directory located in a WAR file.
E. The web container must allow access to resources in JARs in the web application library directory

多项选择题

A. ${cart = null } 
B. <c:remove var=”cart” /> 
C. <c:remove var=”${cart}” /> 
D. <c:remove var=”cart” scope=”session” /> 
E. <c:remove scope=”session”>cart</c:remove>
F. <c:remove var=”${cart}” scope=”session” /> 
G. <c:remove scope=”session”>${cart}</c:remove>

多项选择题

A. ${priority = ‘medium’ } 
B. ${requestScope[ ‘priority’ ] = ‘medium’ } 
C. <c:set var=priority” value=”medium” /> 
D. <c:set var=”priority” scope=”request”>medium</C:set> 
E. <c:set var=”priority” value=”medium” scope=”request” /> 
F. <c:set property=”priority” scope=”request”>medium</c:set> 
G. <c:set property=”priority” value=”medium” scope=”request” />

赞题库

赞题库-搜题找答案

(已有500万+用户使用)


  • 历年真题

  • 章节练习

  • 每日一练

  • 高频考题

  • 错题收藏

  • 在线模考

  • 提分密卷

  • 模拟试题

无需下载 立即使用

版权所有©考试资料网(ppkao.com)All Rights Reserved