多项选择题
A developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in a thread-safe manner. Which two can support this design goal?()
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 -
单项选择题
Which defines the welcome files in a web application deployment descriptor?()
A.A
B.B
C.C
D.D
E.E
