网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

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

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

参考答案

更多 “下面哪些产品是,或者包含Servlet Container()A、ApacheB、TomcatC、Weblogic ServerD、WebSphere” 相关考题
考题 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 ExceptionC、 The servlet’s init method sets the Servlet Response’s context length to 0D、 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.

考题 Which the three are true about servlet filters?()A、 A filter must implement the destroy methodB、 A filter must implement the doFilter methodC、 A servlet may have multiple filters associated with itD、 A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain  interfaceE、 A filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward methodF、 For each  element in the web application deployment descriptor, multiple instances of a filter may be created by the web container

考题 下面哪些技术可以与浏览器直接交互()。A、XMLB、JavascriptC、VBScriptD、JSPE、Servlet

考题 下列哪些是J2EE中包含的容器()A、JSP containerB、Servlet containerC、EJBs containerD、JavaBeans container

考题 Which three are described in the standard web application deployment descriptor?()A、session configurationB、MIME type mappingsC、context root for the applicationD、servlet instance pool configurationE、web container default port bindingsF、Servlet Context initialization parameters

考题 下面哪些概念是包含在产品组合中的()A、产品线B、产品形式C、产品种类D、产品项目E、产品组合的相关性

考题 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 invokedB、 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 fileD、 If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it

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

考题 下面关于Servlet生命周期的描述不正确的是()。A、 Servlet实例由Servlet容器负责加载和创建B、 Servlet容器调用init()方法初始化Servlet,每加载一次Servlet都会执行一次init()方法C、 Servlet初始化完毕后,就处于能响应请求的就绪状态D、 Servlet的destroy()方法指明哪些资源可以被系统回收

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

考题 扩展标签使用的是下面的哪个包?()A、javax.servlet.jsp.tagext.*B、javax.servlet.jsp.*C、java.io.*D、javax.servlet.*

考题 下面有关Servlet的描述错误的是()。A、一个Servlet就是Java中的一个类B、Servlet是位于Web服务器内部的服务器端的Java应用程序C、Servlet可以由客户端的浏览器解释执行D、加载Servlet的Web服务器必须包含支持Servlet的Java虚拟机

考题 Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()A、javax.servlet.http.HttpSessionListenerB、javax.servlet.http.HttpSessionBindingListenerC、javax.servlet.http.HttpSessionAttributeListenerD、javax.servlet.http.HttpSessionActivationListener

考题 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.

考题 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、 HttpSessionB、 ServletConfigC、 ServletContextD、 HttpServletRequestE、 HttpServletResponse

考题 单选题Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()A javax.servlet.http.HttpSessionListenerB javax.servlet.http.HttpSessionBindingListenerC javax.servlet.http.HttpSessionAttributeListenerD javax.servlet.http.HttpSessionActivationListener

考题 单选题下面关于Servlet生命周期的描述不正确的是()。A  Servlet实例由Servlet容器负责加载和创建B  Servlet容器调用init()方法初始化Servlet,每加载一次Servlet都会执行一次init()方法C  Servlet初始化完毕后,就处于能响应请求的就绪状态D  Servlet的destroy()方法指明哪些资源可以被系统回收

考题 单选题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.

考题 单选题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.

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

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

考题 单选题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  HttpSessionB  ServletConfigC  ServletContextD  HttpServletRequestE  HttpServletResponse

考题 多选题Which two prevent a servlet from handling requests.?()AThe servlet’s init method returns a non-zero status.BThe servlet’s init method throws a Servlet ExceptionCThe servlet’s init method sets the Servlet Response’s context length to 0DThe servlet’s init method sets the Servlet Response’s content type to null.EThe servlet’s init method does NOT return within a time period defined by the servlet container.

考题 多选题Which the three are true about servlet filters?()AA filter must implement the destroy methodBA filter must implement the doFilter methodCA servlet may have multiple filters associated with itDA servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain  interfaceEA filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward methodFFor each  element in the web application deployment descriptor, multiple instances of a filter may be created by the web container

考题 单选题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 invokedB  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 fileD  If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it

考题 单选题下面有关Servlet的描述错误的是()。A 一个Servlet就是Java中的一个类B Servlet是位于Web服务器内部的服务器端的Java应用程序C Servlet可以由客户端的浏览器解释执行D 加载Servlet的Web服务器必须包含支持Servlet的Java虚拟机

考题 多选题下列哪些是J2EE中包含的容器()AJSP containerBServlet containerCEJBs containerDJavaBeans container