request.getHeader (“X-Retries”)
request.getIntHeader (“X-Retries”)
request.getRequestHeader (“x-Retries”)
request.getHeaders (“X-Retries”).get (0)
re request.getRequest Headers (“X-Retries”). Get (0)
第1题:
Given a JSP error page, which implicit object refers to the uncaught Throwable that resulted in th epage being invoked?()
第2题:
For an HttpServlet Response response, which two create a custom header()
第3题:
Given an HttpServletRequest request: 22.String id = request.getParameter("jsessionid"); 23.// insert code here 24.String name = (String) session.getAttribute("name"); Which three can be placed at line 23 to retrieve anexisting HttpSession object?()
第4题:
Server load balancing (SLB) is the process of deciding to which server a load-balancing device should send a client request for service. Which predictors are supported on ACE in order to select the best server to fulfill a client request? ()
第5题:
Given a Filter class definition with this method: 21.public void doFilter(ServletRequest request, 22.ServletResponse response, 23.FilterChain chain) 24.throws ServletException, IOException { 25.// insert code here26. } Which should you insert at line 25 to properly invoke the next filter in the chain,or the target servlet if thereare no more filters?()
第6题:
Given: 10.public void service(ServletRequest request, 11.ServletResponse response) { 12.ServletInputStream sis = 13.// insert code here 14.} Which retrieves the binary input stream on line 13?()
第7题:
Given a header in an HTTP request: X-Retries:4 Which two retrieve the value of the header from a given ServletRequest request? ()
第8题:
Hash address: Selects the server by using a hash value based on either the source or destination IP address, or both
Hash URL: Selects the server by using a hash value based on the requested URL
Hash MAC.Selects the server by using a hash value based on either the source or destination MAC address, or both
Hash header: Selects the server by using a hash value based on the HTTP header name
Hash IP: Selects the server using a hash value based on the IP address
第9题:
${product ID}
${param.productID}
${params.productID}
${params.productID[1]}
${paramvalues.productID}
${paramValues.productID[0]}
${pageContext.request.productID}
第10题:
HttpSession session = request.getSession();
HttpSession session = request.getSession(id);
HttpSession session = request.getSession(true);
HttpSession session = request.getSession(false);
HttpSession session = request.getSession(jsessionid);
第11题:
${requestScope[ ‘priority’ ] = ‘medium’ }
<c:set var=priority” value=”medium” />
<c:set var=”priority” scope=”request”>medium</C://set>
<c:set var=”priority” value=”medium” scope=”request” />
<c:set property=”priority” scope=”request”>medium</c:set>
<c:set property=”priority” value=”medium” scope=”request” />
第12题:
Request.getHeader(X-Retries)
Request.getIntHeader(X-Retries)
Request.getRequestHeader(X-Retries)
Request.getHeaders(X-Retries).get(0)
Request.getRequestHeaders(X-Retries).get(0)
第13题:
Given an HttpServlet Request request and Http Servlet Response response, which sets a cookie “username” with the value “joe” in a servlet.?()
第14题:
Given: 6.<% int[] nums = {42, 420, 4200}; 7.request.setAttribute("foo", nums); %> Which two successfully translate and result in a value of true?()
第15题:
Given a header in an HTTP request:X-Retries:4 Which two retrieve the value of the header from a given HttpServletRequest request?()
第16题:
Given a web application in which the request parameter product ID contains a product identifier.Which two EL expressions evaluate the value of the product ID?()
第17题:
Given an HttpServletRequest request and HttpServletResponse response,which sets a cookie "username"with the value "joe" in a servlet?()
第18题:
Which retrieves all cookies sent in a given HttpSErvletRequest request?()
第19题:
response.set Header (“X-MyHeader”. “34”):
response.addHeader (“X-MyHeader”. “34”):
response. Set Header (new Http Header (“X-MyHeader”. “34”)):
response.addHeader(new Http Header (“X-MyHeader”. “34”)):
response. addHeader (new Servlet Header (“X-MyHeader”. “34”)):
response. setHeader (new Servlet Header (“X-MyHeader”, “34”)):
第20题:
Error
Exception
Throwable
Request error
Request exception
第21题:
IP prefix
Layer 2 circuit
RSVP request from CE for bandwidth reservation
BGP MED value
第22题:
request.getCookies()
request.getAttributes()
request.getSession ().getCookies()
request.getSession (). GetAttributes()
第23题:
request.getHeader (“X-Retries”)
request.getIntHeader (“X-Retries”)
request.getRequestHeader (“x-Retries”)
request.getHeaders (“X-Retries”).get (0)
re request.getRequest Headers (“X-Retries”). Get (0)
第24题:
chain.forward(request, response);
chain.doFilter(request, response);
request.forward(request, response);
request.doFilter(request, response);