多项选择题
A session-scoped attribute is stored by a servlet, and then that servlet forwards to a JSP page. Which threejsp:useBean attributes must be used to access this attribute in the JSP page?()
A.id B.name C.bean D.type E.scope
WhichJSPstandardactioncanbeusedtoimportcontentfromareso...
单项选择题Which JSP standard action can be used to import content from a resource called foo.jsp?()
A.<jsp:import file=’foo.jsp’ /> B.<jsp:import page=’foo.jsp’ /> C.<jsp:include page=’foo.jsp’ /> D.<jsp:include file=’foo.jsp’ />
ForagivenServletResponseresponse,whichtworetrieveanobje...
多项选择题For a given ServletResponse response,which two retrieve an object for writing text data?()
A.response.getWriter() B.response.getOutputStream() C.response.getOutputWriter() D.response.getWriter().getOutputStream() E.response.getWriter(Writer.OUTPUT_TEXT)
Given a header in an HTTP request:X-Retries:4 Which two...
Given a header in an HTTP request:X-Retries:4 Which two retrieve the value of the header from a given HttpServletRequest request?()
A.Request.getHeader("X-Retries") B.Request.getIntHeader("X-Retries") C.Request.getRequestHeader("X-Retries") D.Request.getHeaders("X-Retries").get(0) E.Request.getRequestHeaders("X-Retries").get(0)