开发者

Servlet 3.0: where is @WebServletContextListener?

I am trying to follow a Servlet 3.0 tutorial which refers to @WebServletContextListener. However, I cannot find such an annotation in my javaee-web-api-6.0.jar dependency (I am using maven).

So, where is @WebServletContextListen开发者_JS百科er?


The annotation is called @WebListener. And you still have to implement ServletContextListener.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜