Which jar for interface HttpSessionListener?

孤街浪徒 提交于 2020-01-06 07:17:09

问题


I wanted to use javax.servlet.http.HttpSessionListener interface in my project. The project can't find a proper jar.

Which jar do I need to include in the project? Which package?

Edit

Seems like a different problem, new question here.


回答1:


I think servlet-api.jar will do it.

and if project still can't find a proper jar, then you must try to add it again [as you have said that you are using eclispe so you can add it using properties-> build path -> configure build path -> add external jars].




回答2:


Depends on what else you need and what you have lying around. Or which container you are using. See http://findjar.com/class/javax/servlet/http/HttpSessionListener.html



来源:https://stackoverflow.com/questions/14457258/which-jar-for-interface-httpsessionlistener

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!