多选题Which four occur during the processing of a request using Oracle Shared Server?()AThe dispatcher returns the response to the user.BThe dispatcher places the request into the request queue.CThe shared server places the response in the response queue.DTh

题目
多选题
Which four occur during the processing of a request using Oracle Shared Server?()
A

The dispatcher returns the response to the user.

B

The dispatcher places the request into the request queue.

C

The shared server places the response in the response queue.

D

The response is handed off to the next available dispatcher.

E

A shared server picks up the request from the request queue and processes the request.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

能够保留请求作用域中数据的转向方式是()。

  • A、response.forward()
  • B、response.sendRedirect()
  • C、session.getRequestDispatcher().forward(request,response)
  • D、request.getRequestDispatcher().forward(request,response)

正确答案:D

第2题:

Given an HttpServlet Request request and Http Servlet Response response, which sets a cookie “username” with the value “joe” in a servlet.?()

  • A、 request.add Cookie (“username”. “joe”)
  • B、 request.set Cookie (“username, “joe”)
  • C、 response.add Cookie (username”, “joe”))
  • D、 request.add Header (new Cookie (“username”, “joe”))
  • E、 request.add Cookie (new Cookie (“username”, “joe”))
  • F、 response.add Cookie (new Cookie (“username”, “joe”))
  • G、 response.add Header (new Cookie (“username”, “joe”))

正确答案:F

第3题:

GivenaFilterclassdefinitionwiththismethod:21.publicvoiddoFilter(ServletRequestrequest,22.ServletResponseresponse,23.FilterChainchain)24.throwsServletException,IOException{25.//insertcodehere26.}Whichshouldyouinsertatline25toproperlyinvokethenextfilterinthechain,orthetargetservletiftherearenomorefilters?()

A.chain.forward(request,response);

B.chain.doFilter(request,response);

C.request.forward(request,response);

D.request.doFilter(request,response);


参考答案:B

第4题:

使用网页重定向的Response方法是:()。

  • A、Response.charset
  • B、Request.redirect
  • C、Response.write
  • D、Request.end

正确答案:B

第5题:

Your IT department is building a lightweight Front Controller servlet that invokes an application logic objectwith the interface: public interface ApplicationController {public String invoke(HttpServletRequest request)} The return value of this method indicates a symbolic name of the next view. From this name, the FrontController servlet looks up the JSP URL in a configuration table. This URL might be an absolute path or apath relative to the current request. Next, the Front Controller servlet must send the request to this JSP togenerate the view. Assume that the servlet variable request is assigned the current HttpServletRequestobject and the variable context is assigned the webapp’s ServletContext. Which code snippet of the FrontController servlet accomplishes this goal?()

  • A、Dispatcher view=context.getDispatcher(viewURL);view.forward Request(request, response);
  • B、Dispatcher view=request.getDispatcher(viewURL);view.forward Request(request, response);
  • C、RequestDispatcher view. =context.getRequestDispatcher(viewURL);view.forward(request,response);
  • D、RequestDispatcher view=request.getRequestDispatcher(viewURL);view.forward(request, response);

正确答案:D

第6题:

On the wireless LAN, A client is searching for an access point (AP). What is the correct processorder that this client and access point goes through in order to create a connection?()

  • A、association request/response, probe request/response, authentication request/response
  • B、association request/response, authentication request/response, probe request/response
  • C、probe request/response, authentication request/response, association request/response
  • D、probe request/response, association request/response, authentication request/response
  • E、None of the other alternatives apply

正确答案:C

第7题:

Servlet A forwarded a request to servlet B using the forward method of RequestDispatcher. What attributein B’s request object contains the URI of the original request received by servlet A?()

  • A、REQUEST_URI
  • B、javax.servlet.forward.request_uri
  • C、javax.servlet.forward.REQUEST_URI
  • D、javax.servlet.request_dispatcher.request_uri
  • E、javax.servlet.request_dispatcher.REQUEST_URI

正确答案:B

第8题:

ServletAforwardedarequesttoservletBusingtheforwardmethodofRequestDispatcher.WhatattributeinB’srequestobjectcontainstheURIoftheoriginalrequestreceivedbyservletA?()

A.REQUEST_URI

B.javax.servlet.forward.request_uri

C.javax.servlet.forward.REQUEST_URI

D.javax.servlet.request_dispatcher.request_uri

E.javax.servlet.request_dispatcher.REQUEST_URI


参考答案:B

第9题:

写入和读取cookie的方法是()

  • A、request.addCookies()和response.getCookies()
  • B、response.addcookie()和request.getCookies()
  • C、request.addCookies()和request.getCookies()
  • D、response.addcookie()和response.getCookies()

正确答案:B

第10题:

On the Company wireless LAN, A client is searching for an access point (AP).  What is the correct  process order that this Company client and access point goes through in order to create a  connection?()

  • A、 association request/response, probe request/response, authentication request/response
  • B、 association request/response, authentication request/response, probe request/response
  • C、 probe request/response, authentication request/response, association request/response
  • D、 probe request/response, association request/response, authentication request/response
  • E、 None of the other alternatives apply

正确答案:C

更多相关问题