httpsession question


Web tier: servlets, JSP, Web frameworks: httpsession question

  1. httpsession question (7 messages)

       May we configure weblogic to setup house-clean before session timeout?
       For example, we want server to release token hold by the user when this user's session automatically timeout by the web server.

    Threaded Messages (7)

  2. httpsession question[ Go to top ]

    I believe this is part of the standard servlet api...

  3. httpsession question[ Go to top ]

    I do not think so. It is configuration in the servlet container.
  4. httpsession question[ Go to top ]

    check out javax.servlet.http.HttpSessionBindingListener.
  5. httpsession question[ Go to top ]

    what will javax.servlet.http.HttpSessionBindingListener do?

    (I don't know how to get this information, do I have to install a servlet-doc for Jbuilder?)
  6. httpsession question[ Go to top ]

    Well if you're doing any sort of servlet development you should have the J2EE javadoc handy. I don't use JBuilder so I don't know what comes bundled with it. You can download the J2EE documentation from

    Any object that implements this interface and then is put into the HttpSession will be send a message when the value is removed from the HttpSession. For example, if the session times out and is destroyed, the object will be sent a notification of the cleanup.

  7. httpsession question[ Go to top ]

    Thanks a lot! However, Can you provide an example? It is not clear on how to do when I read the java DOC
  8. httpsession question[ Go to top ]

    I got an example from Jason Hunter's Java Servlet Programming.