title: Redirect jsp to another jsp (Struts1)
body: <p>This is the first time for me to work with Struts1. I want to redirect from a jsp to another jsp. For example: if the user not in session then redirect it to login.jsp; else go to menu.jsp.</p>
  
  <p>I tried to make a tile: isLogged.jsp that contains:</p>
  
  <pre><code>&lt;logic:present name="user"&gt;
      &lt;jsp:forward page="menu.do"/&gt;
  &lt;/logic:present&gt;
  &lt;logic:notPresent name="user"&gt;
      &lt;jsp:forward page="login.do"/&gt;
  &lt;/logic:notPresent&gt;
  </code></pre>
  
  <p>But it don´t redirect and the page is in blank (all empty in the code).</p>
  
  <p>I do call the tile in all the pages of the site inside of the .</p>
  
  <p>What am I doing wrong?</p>