Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL doubt

 
deepa raj
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
INFO : ${bean.property} or ${bean["property"]}

if property of the bean doesnt exist ,the above EL will throw exception.

is it true???

or it will print nothing to display (point: EL handles null values gracefully)??
 
Antonio Tercero
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it's a bean property, it will throw an exception.
If it's a map, it will print nothing
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic