Which three are described in the standard web application deployment descriptor?()
第1题:
Which element is the parent of the
第2题:
Which three are valid URL mappings to a servlet in a web deployment descriptor?()
第3题:
Which the three interfaces need to be declared in the web application deployment descriptor? ()
第4题:
Which the two about WAR files are true?()
第5题:
Which three web application deployment descriptor elements allow web components to gain references toresources or EJB components?()
第6题:
/conf/web.xml
/WEB-INF/web.xml
/conf/server.xml
/META-INF/web.xml
/WEB-INF/rules.xml
/META-INF/server. Xml
第7题:
<filters>
<servlet>
<filter-list>
第8题:
session configuration
MIME type mappings
context root for the application
servlet instance pool configuration
web container default port bindings
ServletContext initialization parameters
第9题:
/WEB-INF
/META-INF
/WEB-INF/tlds
/META-INF/tlds
WEB-INF/resources
/META-INF/resources
第10题:
ejb-ref
jdbc-ref
servlet-ref
resource-ref
javamail-ref
resource-env-ref
第11题:
A
B
C
D
第12题:
*/*
*.do
MyServlet
/MyServlet
/MyServlet/*
MyServlet/*.jsp
第13题:
Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()
第14题:
In which three directories, relative to a web application’s root, may a tag library descriptor file reside when deployed directly into a web application?()
第15题:
Which three are guaranteed to be valid for the element of a web application deployment descriptor?()
第16题:
Which element of the web application deployment descriptor defines the servlet class associated with aservlet instance?()
第17题:
Which is true about the web container request processing model?()
第18题:
session configuration
MIME type mappings
context root for the application
servlet instance pool configuration
web container default port bindings
Servlet Context initialization parameters
第19题:
HttpSessionListener
HttpSessionBindingListener
HttpSessionTimedOutListener
HttpSessionAttributeListener
HttpSessionActivationListener
HttpSessionPassivatedListener
第20题:
The init method on a filter is called the first time a servlet mapped to that filter is invoked.
A filter defined for a servlet must always forward control to the next resource in the filter chain.
Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file.
If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it.
第21题:
A filter must implement the destroy method
A filter must implement the doFilter method
A servlet may have multiple filters associated with it
A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface
A filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward method
For each
第22题:
<class><br/>
<webapp><br/>
<servlet><br/>
<codebase><br/>
<servlet-class>
第23题:
/WEB-INF
/META-INF
/WEB-INF/tlds
/META-INF/tlds
/WEB-INF/resources
/META-INF/resources