• 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
Posts: 65681
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
reflection
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!