Examveda

Which annotation is used to declare a listener for HTTP session events in a Java web application?

A. `@WebServlet`

B. `@WebListener`

C. `@RequestScoped`

D. None of These

Answer: Option B


Join The Discussion

Related Questions on Application Lifecycle and Annotation