cache « Session « JSP-Servlet Q&A





1. Is it possible to evaluate a JSP only once per session, and cache it after that?    stackoverflow.com

My site has a nav menu that is dynamically built as a separate JSP, and included in most pages via <jsp:include />. The contents and styling of the menu are determined ...

2. Invalidating session in Sun one Applications server 7.1    stackoverflow.com

I am facing a problem on sessions using Servlets and JSP when user login/logout in my application displaying last accessed usernames. When the user logged succussfully in application I am putting ...

3. is session best option for caching?    coderanch.com

I have two questions, but both related to caching and using sessions. Question 1, what are the limitations of using sessions for caching objects? What I'm caching is db queried data that needs to be either displayed for printing or downloaded to excel. Would using session to store it be the better option? Question 2: I have written two classes that ...

4. Caching objects in a session    coderanch.com

5. JMS Connection & Session Caching    coderanch.com

Hi, I'm looking for some guidance on how to cache JMS connections & sessions in my applications. The app does a JNDI lookup for the queueConnectionFactory & then goes and creates a connection & session for each JMS send. This is causing some performance implications & I was wondering how I would go about caching the connections & sessions so that ...

6. Cache file(pdf) in user's computer using Servlet-Cookie, or Session    coderanch.com

How can I save a file (pdf) in the cache of a browser (IE 6) in a user's computer? I am using Servlet and Tomcat 4.1.24. PDF file is sitting in server (remote computer) under a URL space. The idea is to NOT to download the pdf file on user's computer (from the remote server) if the user has a cached ...

7. Caching custom objects in JSP session    coderanch.com