PRJ301_-_SU_2024_-_FE_2371.webp
T

PRJ301_-_SU_2024_-_FE_2371.webp

Kizspy | Question: 36
(Choose 1 answer)
public class MyAppContextListener implements ServletContextListener {
public void contextInitialized(ServletContextEvent event) {
// TODO: Your code here
}
public void contextDestroyed(ServletContextEvent event) {
// TODO: Your code here
}
}-
In the contextInitialized method, what kind of tasks would you typically perform during the initialization of the servlet context?
A. Handling user requests
B. Initializing objects for database connections
C. Creating session objects
D. Configuring global application settings

Thông tin

Category
PRJ301
Thêm bởi
Thái Bảo1
Ngày thêm
Lượt xem
8,429
Lượt bình luận
41
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom