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!

JSTL string comparison

843840Jan 28 2008 — edited Jan 29 2008
Hey Guys

I am trying to compare two JSTL variables in if condition but this if condition never evalutes to true even though there are a few varibales that are equal. The code that is giving me trouble is below

<c:if test="${currRowName == currColNodeName}">

<td colspan="2" ><x:out select="$colnodes/@name"/></td>

</c:if>

Any suggestions and help will be apreciated.
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 26 2008
Added on Jan 28 2008
3 comments
302 views