<jsp:forward page="url"/>
<% if (some condition) { %> <jsp:forward page="url1"/> <% } else { %> <jsp:forward page="url2"/> <% } %>