• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL Mystery

 
khaled Jamal
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Suppose we have a Person class like this one :



This is a part of code from a servlet :



which dispatch to this JSP :



I want to know please how the container know the type of objects within the list to cast them in order to be able to access the id and name

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
reflection
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic