niusouti.com

多选题下面哪些产品是,或者包含Servlet Container()AApacheBTomcatCWeblogic ServerDWebSphere

题目
多选题
下面哪些产品是,或者包含Servlet Container()
A

Apache

B

Tomcat

C

Weblogic Server

D

WebSphere


相似考题
更多“下面哪些产品是,或者包含Servlet Container()”相关问题
  • 第1题:

    下面哪些产品是,或者包含Servlet Container()

    • A、Apache
    • B、Tomcat
    • C、Weblogic Server
    • D、WebSphere

    正确答案:B,C,D

  • 第2题:

    下面哪些概念是包含在产品组合中的()

    • A、产品线
    • B、产品形式
    • C、产品种类
    • D、产品项目
    • E、产品组合的相关性

    正确答案:A,D,E

  • 第3题:

    下面关于ServletException的方法说法正确的是()

    • A、ServletException()方法构建一个新的Servlet异常
    • B、ServletException(Stringmessage)方法构建一个指定信息的新的Servlet异常
    • C、ServletException(ThrowablerootCause)方法构建一个新的Servlet异常,Servlet需要时抛出,包含妨碍正常操作的根异常信息
    • D、getRootCause()方法返回引起Servlet异常的原因
    • E、以上方法只有AB正确

    正确答案:A,B,C,D

  • 第4题:

    关于客户端、Servlet与Web容器的交互说法错误的是()。

    • A、一个基于servlet应用的客户通常不直接和servlet通信,而是由Web应用服务器通过Java Servlet API调用servlet来实现请求servlet的服务
    • B、Servlet是由Web应用服务器中的Web Container管理的。Web容器的角色是管理装载和初始化servlet,处理服务请求,卸载或撤销servlet
    • C、一般来说,某一时刻在web容器中只有一个特定的servlet对象的实例,这是servlet持久性的基本原理。每次客户端调用servlet时,web容器都负责实现servlet的初始化
    • D、每一个客户对servlet的请求都会创建servlet的一个对象实例。Web容器负责创建每个处理请求的新实例。另外它还负责最后的卸载或重新安装servlet。卸载和重新安装通常发生在web应用服务器崩溃或者支持servlet的文件改变时

    正确答案:C,D

  • 第5题:

    下面有关Servlet的描述错误的是()。

    • A、一个Servlet就是Java中的一个类
    • B、Servlet是位于Web服务器内部的服务器端的Java应用程序
    • C、Servlet可以由客户端的浏览器解释执行
    • D、加载Servlet的Web服务器必须包含支持Servlet的Java虚拟机

    正确答案:C

  • 第6题:

    Given this fragment from a Java EE deployment descriptor: 124. beta.html 125. alpha.html And this request from a browser:http://www.sun.com/SCWCDtestApp/register Which statement is correct,when the container receives this request?()

    • A、This deployment descriptor is NOT valid.
    • B、The container first looks in the register directory for beta.html.
    • C、The container first looks in the register directory for alpha.html.
    • D、The container first looks for a servlet mapping in the deployment descriptor.

    正确答案:D

  • 第7题:

    单选题
    Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()
    A

    javax.servlet.http.HttpSessionListener

    B

    javax.servlet.http.HttpSessionBindingListener

    C

    javax.servlet.http.HttpSessionAttributeListener

    D

    javax.servlet.http.HttpSessionActivationListener


    正确答案: D
    解析: 暂无解析

  • 第8题:

    单选题
    Which is true about the web container request processing model?()
    A

    The init method on a filter is called the first time a servlet mapped to that filter is invoked.

    B

    A filter defined for a servlet must always forward control to the next resource in the filter chain.

    C

    Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file.

    D

    If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it.


    正确答案: C
    解析: 暂无解析

  • 第9题:

    多选题
    关于客户端、Servlet与Web容器的交互说法错误的是()。
    A

    一个基于servlet应用的客户通常不直接和servlet通信,而是由Web应用服务器通过Java Servlet API调用servlet来实现请求servlet的服务

    B

    Servlet是由Web应用服务器中的Web Container管理的。Web容器的角色是管理装载和初始化servlet,处理服务请求,卸载或撤销servlet

    C

    一般来说,某一时刻在web容器中只有一个特定的servlet对象的实例,这是servlet持久性的基本原理。每次客户端调用servlet时,web容器都负责实现servlet的初始化

    D

    每一个客户对servlet的请求都会创建servlet的一个对象实例。Web容器负责创建每个处理请求的新实例。另外它还负责最后的卸载或重新安装servlet。卸载和重新安装通常发生在web应用服务器崩溃或者支持servlet的文件改变时


    正确答案: C,D
    解析: 暂无解析

  • 第10题:

    单选题
    Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A’s web application.  In which object can the data that A shares with B be stored?()
    A

     HttpSession

    B

     ServletConfig

    C

     ServletContext

    D

     HttpServletRequest

    E

     HttpServletResponse


    正确答案: B
    解析: 暂无解析

  • 第11题:

    多选题
    Which the three are true about servlet filters?()
    A

    A filter must implement the destroy method

    B

    A filter must implement the doFilter method

    C

    A servlet may have multiple filters associated with it

    D

    A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain  interface

    E

    A filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward method

    F

    For each  element in the web application deployment descriptor, multiple instances of a filter may be created by the web container


    正确答案: D,F
    解析: 暂无解析

  • 第12题:

    单选题
    下面有关Servlet的描述错误的是()。
    A

    一个Servlet就是Java中的一个类

    B

    Servlet是位于Web服务器内部的服务器端的Java应用程序

    C

    Servlet可以由客户端的浏览器解释执行

    D

    加载Servlet的Web服务器必须包含支持Servlet的Java虚拟机


    正确答案: D
    解析: 暂无解析

  • 第13题:

    Which three are described in the standard web application deployment descriptor?()

    • A、session configuration
    • B、MIME type mappings
    • C、context root for the application
    • D、servlet instance pool configuration
    • E、web container default port bindings
    • F、Servlet Context initialization parameters

    正确答案:A,B,F

  • 第14题:

    Which is the true choice about the web container request processing model()?

    • A、 The init method on a filter is called the first time a servlet mapped to that filter is invoked
    • B、 A filter defined for a servlet must always forward control to the next resource in the filter chain.
    • C、 Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file
    • D、 If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it

    正确答案:C

  • 第15题:

    下面关于Servlet生命周期的描述不正确的是()。

    • A、 Servlet实例由Servlet容器负责加载和创建
    • B、 Servlet容器调用init()方法初始化Servlet,每加载一次Servlet都会执行一次init()方法
    • C、 Servlet初始化完毕后,就处于能响应请求的就绪状态
    • D、 Servlet的destroy()方法指明哪些资源可以被系统回收

    正确答案:B

  • 第16题:

    扩展标签使用的是下面的哪个包?()

    • A、javax.servlet.jsp.tagext.*
    • B、javax.servlet.jsp.*
    • C、java.io.*
    • D、javax.servlet.*

    正确答案:A

  • 第17题:

    Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()

    • A、javax.servlet.http.HttpSessionListener
    • B、javax.servlet.http.HttpSessionBindingListener
    • C、javax.servlet.http.HttpSessionAttributeListener
    • D、javax.servlet.http.HttpSessionActivationListener

    正确答案:D

  • 第18题:

    Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A’s web application.  In which object can the data that A shares with B be stored?()

    • A、 HttpSession
    • B、 ServletConfig
    • C、 ServletContext
    • D、 HttpServletRequest
    • E、 HttpServletResponse

    正确答案:D

  • 第19题:

    单选题
    下面关于Servlet生命周期的描述不正确的是()。
    A

     Servlet实例由Servlet容器负责加载和创建

    B

     Servlet容器调用init()方法初始化Servlet,每加载一次Servlet都会执行一次init()方法

    C

     Servlet初始化完毕后,就处于能响应请求的就绪状态

    D

     Servlet的destroy()方法指明哪些资源可以被系统回收


    正确答案: C
    解析: 暂无解析

  • 第20题:

    单选题
    Given this fragment from a Java EE deployment descriptor: 124. beta.html 125. alpha.html And this request from a browser:http://www.sun.com/SCWCDtestApp/register Which statement is correct,when the container receives this request?()
    A

    This deployment descriptor is NOT valid.

    B

    The container first looks in the register directory for beta.html.

    C

    The container first looks in the register directory for alpha.html.

    D

    The container first looks for a servlet mapping in the deployment descriptor.


    正确答案: B
    解析: 暂无解析

  • 第21题:

    多选题
    下面哪些产品是,或者包含Servlet Container()
    A

    Apache

    B

    Tomcat

    C

    Weblogic Server

    D

    WebSphere


    正确答案: B,C,D
    解析: 暂无解析

  • 第22题:

    多选题
    Which two prevent a servlet from handling requests.?()
    A

    The servlet’s init method returns a non-zero status.

    B

    The servlet’s init method throws a Servlet Exception

    C

    The servlet’s init method sets the Servlet Response’s context length to 0

    D

    The servlet’s init method sets the Servlet Response’s content type to null.

    E

    The servlet’s init method does NOT return within a time period defined by the servlet container.


    正确答案: E,C
    解析: 暂无解析

  • 第23题:

    单选题
    Which is the true choice about the web container request processing model()?
    A

     The init method on a filter is called the first time a servlet mapped to that filter is invoked

    B

     A filter defined for a servlet must always forward control to the next resource in the filter chain.

    C

     Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file

    D

     If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it


    正确答案: C
    解析: 暂无解析

  • 第24题:

    多选题
    下列哪些是J2EE中包含的容器()
    A

    JSP container

    B

    Servlet container

    C

    EJBs container

    D

    JavaBeans container


    正确答案: A,B
    解析: 暂无解析