单选题Which element of the web application deployment descriptor defines the servlet class associated with aservlet instance?()A classbr/B webappbr/C servletbr/D codebasebr/E servlet-class

题目
单选题
Which element of the web application deployment descriptor defines the servlet class associated with aservlet instance?()
A

<class><br/>

B

<webapp><br/>

C

<servlet><br/>

D

<codebase><br/>

E

<servlet-class>

参考答案和解析
正确答案: C
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which two are valid values for the  element inside a  element of a web application deployment descriptor?()

  • A、 NULL
  • B、 SECURE
  • C、 INTEGRAL
  • D、 ENCRYPTED
  • E、 CONFIDENTIAL

正确答案:C,E

第2题:

A developer wants a web application to be notified when the application is about to be shut down. Which two actions are necessary to accomplish this goal?()

  • A、Include a listener directive in a JSP page
  • B、configure a listener in the TLD file using the  element
  • C、Include a  element in the web application deployment descriptor
  • D、configure a listener in the application deployment descriptor, using the  element
  • E、Include a class implementing ServletContextListener as part of the web application deploymen

正确答案:D,E

第3题:

Whichelementofthewebapplicationdeploymentdescriptordefinestheservletclassassociatedwithaservletinstance?()

A.<class><br/>

B.<webapp><br/>

C.<servlet><br/>

D.<codebase><br/>

E.<servlet-class>


参考答案:E

第4题:

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

第5题:

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、 ServletContext initialization parameters

正确答案:A,B,F

第6题:

Which element of a web application deployment descriptor  element is required?()

  • A、<realm-name>
  • B、<auth-method>
  • C、<security-role>
  • D、<transport-guarantee>
  • E、<web-resource-collection>

正确答案:E

第7题:

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

正确答案:A,B,C

第8题:

Which element of a web application deployment descriptor  element is required()?

  • A、 <realm-name> 
  • B、 <auth-method> 
  • C、 <security-role> 
  • D、 <transport-guarantee> 
  • E、 <web-resource-collection>

正确答案:E

第9题:

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

第10题:

Which element is the parent of the  tag in the web application deployment descriptor? ()

  • A、 <web-app> 
  • B、 <filters> 
  • C、 <servlet> 
  • D、 <filter-list> 

正确答案:A

更多相关问题