多项选择题
For which three events can web application event listeners be registered? ()
A. when a session is created
B. after a servlet is destroyed
C. when a session has timed out
D. when a cookie has been created
E. when a servlet has forwarded a request
F. when a session attribute value is changed
相关考题
-
多项选择题
AdeveloperchoosestoavoidusingSingleThreadModelbutwantstoensurethatdataisupdatedinathread-safemanner.Whichtwocansupportthisdesigngoal?()
A. Store the data in a vocal variable.
B. Store the data in an instance variable.
C. Store the data in the HttpSession object.
D. Store the data in the ServletContext object.
E. Store the data in the ServletRequest object. -
多项选择题
ARequestDispatchercanbeobtainedfromwhichtwoobjects?()
A. ServletConfig
B. ServletContext
C. HttpServletRequest
D. HttpServletResponse -
多项选择题
Inwhichtwolocationscanlibrarydependenciesbedefinedforawebapplication?()
A. the web application deployment descriptor
B. the /META-INF/dependencies.xml file
C. the /META-INF/MANIFEST.MF manifest file
D. the /META-INF/MANIFEST.MF manifest of a JAR in the web application classpath
