Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubts in EL  RSS feed

 
James Winfrey
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers


I have some doubts in EL.

1. Is EL case sensitive?
2. In EL [] Notation can we use single quotes? we always use strings or something that can be evaluated? what is the need for single quotes?
3. Consider the expression ${7<foo} ? How will EL evaluate the expression?
4. How does EL evaluate${myDog.name and true} assuming mydog.name is a valid string?


Thanks
James
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like homework to me. What are your answers?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I'd have to say that simply trying these things would be *substantially* quicker than waiting for someone else to answer them!
 
James Winfrey
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, I wrote some code to clarify the doubts.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!