Which jar for interface HttpSessionListener?

1.6k views Asked by At

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.

2

There are 2 answers

3
Bhushan On BEST ANSWER

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].

0
ratlan On

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