Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on EL Expression

 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

This question no 15 on page 427 HFJ 2nd edition

How F is incorrect and E is correct.

please clarify.



Also q 17 page 428 option C should also be correct while answer shows is only A

another doubt is on question 19 on page 429 please explain that also.




Thanks

 
Chinmaya Chowdary
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rachna. In ${mybean["objects"].a}, the part ${mybean["objects"]} returns an object of type 'List'. We can get list elements through index. Here 'a' is not valid index, that caused an error.
 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chinmaya

Thanks for explanation
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic