Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EL operators

 
Anoopriya Muthuswaami
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What would be the result of ${"Good" + "Morning"}.
When I went through the topics in forum, some of them talked abt EL operator coersion.What is that? Would like the know how EL operator works and also its precedence. Can someone clarify me on this or please provide me the link to spec.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What would be the result of ${"Good" + "Morning"}.

You can check this by making a sample JSP file and trying it with your container. That would make it a good exercise to learn about EL.

Would like the know how EL operator works and also its precedence.

You'll find everything about type conversion (JSP.2.8 Type Conversion) and operator precedence (JSP.2.3.10 Operator Precedence) in the JSP2.0 specification. Check the Links.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65660
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Anoopriya NM", please check your private messages for an important administrative matter.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!