A RequestDispatcher can be obtained from which two objects? ()
第1题:
Servlet里能实现重定向的方法有()
第2题:
Servlet通过()可以实现请求转发机制。
第3题:
下列关于RequestDispatcher接口描述错误的是()
第4题:
Requestdispatcher的forward方法和include方法的区别是forward可以到另外一个web应用的资源,而include只能到同一web的另外资源。
第5题:
阅读下面代码片段: RequestDispatcher dispatcher=request.getRequestDispatcher("a.jsp"); dispatcher.forward(request,response); 关于该段代码的作用,下列叙述哪项是正确的?()
第6题:
<include/>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>include</dispatcher>
<filter-condition>INCLUDE</filter-condition>
<filter-condition>include</filter-condition>
第7题:
ServletConfig
ServletContext
HttpServletRequest
HttpServletResponse
第8题:
对
错
第9题:
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?()
第10题:
下列说法正确的有()
第11题:
下面关于RequestDispatcher.forward()方法说法正确的是()
第12题:
在Java EE中,以下对RequestDispatcher描述正确的是()。
第13题:
实现转发需要两个步骤,首先在Servlet中要得到RequestDispatcher对象,然后在调用该对象的forward方法实现转发。
第14题:
RequestDispatcher接口定义一个对象,该对象负责在服务器端接收来自客户端的请求并向他们发送资源
RequestDispatcher接口被Servlet引擎用来实现Http客户端和Http会话两者之间的关联
RequestDispatcher接口拥有forward()方法
RequestDispatcher接口拥有include()方法
RequestDispatcher接口的getId()方法返回会话ID--Servlet引擎设置的一个唯一关键字
第15题:
REQUEST_URI
javax.servlet.forward.request_uri
javax.servlet.forward.REQUEST_URI
javax.servlet.request_dispatcher.request_uri
javax.servlet.request_dispatcher.REQUEST_URI
第16题:
运用javax.serblet.http.HttpSerbletRequest接口的sendRedirect方法
运用javax.serblet.http.HttpSerbletResponse接口的sendRedirect方法
运用javax.serblet. RequestDispatcher接口的forward方法
运用javax.serblet.ResponseDispatcher接口的forward方法