title: How to handle the Exceptions in JSP, when session expires?
body: <p>I'm working on struts1.3.8. The JSP page contains scriptlet to iterate the data in the session. Once the user opens the page and not performing any operation till the session expires and then next refreshing it is throwing <code>java.lang.NullPointerException</code>.</p>
  
  <p>So how to handle that exception and how to make the session alive?</p>