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.
I tried to make a tile: isLogged.jsp that contains:
<logic:present name="user">
<jsp:forward page="menu.do"/>
</logic:present>
<logic:notPresent name="user">
<jsp:forward page="login.do"/>
</logic:notPresent>
But it don´t redirect and the page is in blank (all empty in the code).
I do call the tile in all the pages of the site inside of the .
What am I doing wrong?