title: Losing session attributes in a particular JSP
body: <p>I'm working on a Struts 1 application. I'm setting some session attributes in the Action class. There is a JSP file, the link is below. When a form gets submitted from this jsp, or a another action method invoked from this JSP, intermittently the session attributes which I set previously are missing. But those two are getting lost at the same time. I have put the logs in the action class which this jsp get submitted to to check the session attributes. I get null for that sometimes.</p>
  
  <p>The session attributes that I set in the action class are,</p>
  
  <pre><code>session.setAttribute("memberExlan", new Boolean(memberExlan)); and 
  request.getSession().setAttribute("userId","useridfromthedatabase");
  </code></pre>
  
  <p>file link - <a href="https://drive.google.com/file/d/0B7cP7V7_i1LdWnRwT2FpSmR1akE/edit?usp=sharing" rel="nofollow">https://drive.google.com/file/d/0B7cP7V7_i1LdWnRwT2FpSmR1akE/edit?usp=sharing</a></p>
  
  <p>Please help.</p>