Meaningless Drivel is fun!*
The moose likes JSP and the fly likes Comparing Two EL Expressions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Comparing Two EL Expressions" Watch "Comparing Two EL Expressions" New topic
Author

Comparing Two EL Expressions

Joe Brigs
Ranch Hand

Joined: Jun 06, 2011
Posts: 60

I want to comapre two $EL expressions , like below. But obviously this isn't correct. Is this possible ? Thank You

<c:when test="${masterCount} == ${cursorPosition}">
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

The ${} is not a fetch operator -- it encompasses a complete EL expression.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Comparing Two EL Expressions
 
Similar Threads
EL-rendering of if-then-else
Doubt in EL operator
XPath Doubt.
JSTL tags and test conditions
NullPointerException...