title: Refreshing session of other servlet
body: <p>I have a problem with handling sessions between Java servlet, jsp page and Struts Action. Java servlet adds some param to session when get request and sendRedirect to some page1.jsp. On page1 I have an url to Struts Action like strutsAction.do. When StrutsAction recevies request, the session doesn't contain attributes I added in Java servlet. Clicking on page returned by this action doesnt refresh session of Java Servlet, but they have the same SessionId. So, after <code>session.getMaxInactiveInterval()</code> of servlet session pass I'm getting <code>sessionDestroyed()</code> event, even when i taking actions on page returned by StrutsAction. <a href="https://i.stack.imgur.com/PKjMR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PKjMR.png" alt="enter image description here"></a> How to fix this issue?</p>