Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

compare string in JSTL

newnetJun 5 2009 — edited Jun 7 2009
Hi all,
I have
  <c:set var="status" value="${found.studentStatus}"/> inside loop
I want to call it outside the loop and compare string
<c:if test="${status.equals("A")}">
do something
</c:if>
But I get bug equals symbol expect, what is wrong?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 5 2009
Added on Jun 5 2009
3 comments
173 views