• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL evaluation within bracket and without bracket

 
sakthi vadivel
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hiiii folks

I have a doubt on EL evaluation technique. Please anybody explain me how el evaluates the expression when it's inside quotes "" and without quotes sorrounded.

for ex i saw a quiz

${"a"<"b"} returns true

${a<b} returns false. how?


thanks in advance>
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those aren't brackets, they're quotes.

Think about it: what does a string look like in EL? What does a variable reference look like?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!