开发者

Tomcat: how to create a HttpRequestListener, similar to HttpSessionListener?

I hav开发者_StackOverflow社区e created a HttpSessionListener on my webapp, and its works fine. How can i create a similar request listener, called when a user make a request on a session? It is possible?


There is ServletRequestListener. It is notified whenever a request is created and destroyed.

Note that "make are request on a session" does not make sense. The servlet container associates a session with a request based on the JSESSIONID passed with the request.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜