Can you do an if-then-else statement inside a JSP expression?
EDIT : Specifically I was looking for a JSP solution, not a JSTL solution. But some JSTL s
You can wrap your html code with jsp tags like this:
<% if (condition) { %> Condition is true! <% } else { %> Condition is false <% } %>