HttpSessionListener implementation

Can sessionlistener class have a constructor like below?

but then Servletcontainer is not loading the web application !!!

publicclass SessionManagerimplements HttpSessionListener

{

privatestaticint activeSessions =0;

SessionManager()

{

}

[565 byte] By [CjavaVMa] at [2007-10-2 23:58:23]
# 1
Because the container needs to instantiate your listener, it must have a public no-argument constructor.
serlanka at 2007-7-14 16:45:26 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...