Two Laptop Bag*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes EL Mystery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "EL Mystery" Watch "EL Mystery" New topic
Author

EL Mystery

khaled Jamal
Ranch Hand

Joined: Feb 16, 2009
Posts: 64
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


SCJP 6, SCBCD 5, SCWCD 5



Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

reflection


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EL Mystery