Which annotation specifies the metadata as a javax.serv…

Which annotation specifies the metadata as a javax.servlet.http.HttpSessionListener?

Which annotation specifies the metadata as a javax.servlet.http.HttpSessionListener?

A.
@Listener

B.
@WebListener

C.
@WebSessionListener

D.
@HttpSessionListener

Explanation:
http://docs.oracle.com/cd/E12840_01/wls/docs103/webapp/annotateservlet.html (table 8-1, third row)



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Tiparega

Tiparega

It’s B. 8.1.4 of servlet 3.0 spec. A doesn’t exist.