I am using tag of Struts2 in one of the jsp-s. It is something like this:
Try this code:
<s:if test="%{#variable=='String 1'}"> This is String 1 </s:if>
You can Compare a String Like:
<c:if test="%{#request.STATUS!='SINGLE'}"> ......</br> ......<br /> </c:if>