<jsp:setProperty name="firstBean" property="sifre" /><br/>
<c:choose>
<c:when test="${firstBean.sifreKntrl()}">
Hosgeldin!
</c:when>
<c:otherwise>
<meta http-equiv="refresh" content="3;firma.html">
</c:otherwise>
</c:choose>
When I use if else condition by <% %> and it works but I couldn't direct to another page on else condition. Because of directive problem I used EL but now I couldn't make the code worked. That makes works both of the conditions.
Aucun commentaire:
Enregistrer un commentaire