The dispatcher returns the response to the user.
The dispatcher places the request into the request queue.
The shared server places the response in the response queue.
The response is handed off to the next available dispatcher.
A shared server picks up the request from the request queue and processes the request.
第1题:
能够保留请求作用域中数据的转向方式是()。
第2题:
Given an HttpServlet Request request and Http Servlet Response response, which sets a cookie “username” with the value “joe” in a servlet.?()
第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);
第4题:
使用网页重定向的Response方法是:()。
第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?()
第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?()
第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?()
第8题:
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
第9题:
写入和读取cookie的方法是()
第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?()