下列关于request和response的说法中,错误的是()A.javaweb开发是基于HTTP协议进行的,javaweb中使用request代表请求对象,response代表响应对象B.request对象代表请求,response对象代表响应,这两个对象都是由浏览器创建后发送给服务器的C.HTTP协议只规定了浏览器和服务器之间如何通信,而request和response对象是由javaee规范规定的、由javaweb容器负责创建的D.HTTP协议是javaweb开发的基石,如response中提供的请求重定向的方法和request中提供的转发和包含方法就是基于HTTP协议进行的

下列关于request和response的说法中,错误的是()

A.javaweb开发是基于HTTP协议进行的,javaweb中使用request代表请求对象,response代表响应对象

B.request对象代表请求,response对象代表响应,这两个对象都是由浏览器创建后发送给服务器的

C.HTTP协议只规定了浏览器和服务器之间如何通信,而request和response对象是由javaee规范规定的、由javaweb容器负责创建的

D.HTTP协议是javaweb开发的基石,如response中提供的请求重定向的方法和request中提供的转发和包含方法就是基于HTTP协议进行的


参考答案和解析
request 对象代表请求, response 对象代表响应,这两个对象都是由浏览器创建后发送给服务器的;HTTP 协议是 javaweb 开发的基石,如 response 中提供的请求重定向的方法和 request 中提供的转发和包含方法就是基于 HTTP 协议进行的

相关考题:

下列选项中能在JSP页面中实现转向的是() A.Response.forward(“/index.jsp”)B.Response.sendRedirect(“/index.jsp”)C.request.forward(“/index.jsp”)D.request.sendRedirect(“/index.jsp”)

能够在页面中开启缓存的是( )。AB Response.Buffer=TrueC Response.FlushD Request.Querystring

下列关于IMS中的SIP协议的说法哪些是正确的()。 A、SIP一个基于请求-响应(request-response)的协议B、SIP就是IMSC、一个SIP Dialog由一个请求(request)和相应的响应(response)组成D、P-CSCF可以充当SIP proxy

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);

在servlet中实现转发功能是通过()方法实现的。 A.response.getRequestDispatcher()B.response.sendRedirect()C.request..getRequestDispatcher()D.request.sendRedirect()

在servlet中实现重定向功能是通过()方法实现的。 A.response.getRequestDispatcher()B.response.sendRedirect()C.request..getRequestDispatcher()D.request.sendRedirect()

在以太网中ARP报文分为ARP Request()和ARP Response,ARP Response是()传送。

能够保留请求作用域中数据的转向方式是()。A、response.forward()B、response.sendRedirect()C、session.getRequestDispatcher().forward(request,response)D、request.getRequestDispatcher().forward(request,response)

以太网中ARP报文分为ARP Request和ARP Response,ARP Request以()方式传送,ARP Response以()方式传送。

在以太网中ARP报文分为ARP Request和ARP Response,其中ARP Request在网络是()传送,ARP Response是单播传送。A、广播B、单播C、组播D、多播

请简述ASP中Request对象和Response对象的主要功能。

写入和读取cookie的方法是()A、request.addCookies()和response.getCookies()B、response.addcookie()和request.getCookies()C、request.addCookies()和request.getCookies()D、response.addcookie()和response.getCookies()

使用网页重定向的Response方法是:()。A、Response.charsetB、Request.redirectC、Response.writeD、Request.end

在以太网中ARP报文分为ARP Request和ARP Response,其中ARP Request在网络是以广播方式传送,ARP Response是以()方式传送。

以太网中ARP报文分为ARP Request和ARP Response,ARP Request以广播方式传送,ARP Response以()方式传送。

在JSP中需要将1.jsp的请求数据通过2.jsp转发给3.jsp,应该在2.jsp中采用()方式实现。A、〈%request.sendRedirect(“3.jsp”)%〉B、〈%response.sendRedirect(“3.jsp”)%〉C、〈%request.getRequestDispatcher(“3.jsp”).forward(request,response)%〉D、〈%response.sentRedirect(“32.jsp”).forward(request,response)%〉

用于设置页面过期的时间为2分钟,以下语句用法中,正确的说法是()。A、Request.Expires=2B、Response.Expires=2C、Request.ExpireAbslute=2D、Response.ExpireAbslute=2

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/responseB、 association request/response, authentication request/response, probe request/responseC、 probe request/response, authentication request/response, association request/responseD、 probe request/response, association request/response, authentication request/responseE、 None of the other alternatives apply

A client is searching for an access point (AP). What is the correct process order that the client and  access point go through to create a connection?()A、 probe request/response, authentication request/response, association request/responseB、 association request/response, authentication request/response, probe request/responseC、 probe request/response, association request/response, authentication request/responseD、 association request/response, probe request/response, authentication request/response

在以太网中ARP报文分为ARP Request和ARP Response,其中ARP Request是广播报文,ARP Response是()报文。A、播B、多播C、单播D、以上答案都不对

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.

在以太网中ARP报文分为ARP Request和ARP Response,其中ARP Request是广播报文,ARP Response是()报文。

单选题下列选项中能在JSP页面中实现转向的是()A Response.forward(“/index.jsp”)B Response.sendRedirect(“/index.jsp”)C request.forward(“/index.jsp”)D request. sendRedirect (“/index.jsp”)

填空题在以太网中ARP报文分为ARP Request和ARP Response,其中ARP Request在网络是以广播方式传送,ARP Response是以()方式传送。

单选题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?()Aassociation request/response, probe request/response, authentication request/responseBassociation request/response, authentication request/response, probe request/responseCprobe request/response, authentication request/response, association request/responseDprobe request/response, association request/response, authentication request/responseENone of the other alternatives apply

填空题在以太网中ARP报文分为ARP Request和ARP Response,其中ARP Request是广播报文,ARP Response是()报文。

单选题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/responseB association request/response, authentication request/response, probe request/responseC probe request/response, authentication request/response, association request/responseD probe request/response, association request/response, authentication request/responseE None of the other alternatives apply

单选题A client is searching for an access point (AP). What is the correct process order that the client and  access point go through to create a connection?()A probe request/response, authentication request/response, association request/responseB association request/response, authentication request/response, probe request/responseC probe request/response, association request/response, authentication request/responseD association request/response, probe request/response, authentication request/response