Context « Session « JSP-Servlet Q&A





1. Java Servlet Context and Session level variables    stackoverflow.com

I have experimented the inconsistency when multiple threads access/modify context variables but could not produce the same behaviour at session level. For example calling session.setAttribute("something") method within the service method does ...

2. page Context and session    coderanch.com

5. servlet context vs session    coderanch.com

6. Session v Servlet Context    coderanch.com

Please use a meaningful topic, please use real words. A session is related to a user, so each time the user provides a request you can look at the information attached to this user. A Servlet context is attached to a Servlet, and the same servlet serves multiple users. Therefore the two are not the same. Dave

8. How to Kill session at application context level by using session Id    java-forums.org

Dear All, I am using Struts framework to implement my application. In my administration module i want know who are all the users are logged in to the application with thier session ids. If any unauthorised user logged in to the application with sesion Id. I want to kill that particular session id in servlets or in jsp page. Can you ...

9. Servlet Context Vs Session    forums.oracle.com

Hi, We used both servelet context and session concepts to store a database value. When we tested the JSP with the below options. session.getservletContext().setAttribute() session.getservletcontext().getAttribute() - JSP laoding took time ? Why this is slow ? //page load took long time session.setAttribute() session.getAttribute() - JSP loading time is fast ? Why this is fast ? //one user per session //this take ...