File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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: 60810
    
  65

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
 
Similar Threads
Sort Arraylist by passing runtime parameter
XMLEncoder - Stackoverflowerror - overriding equals
JSTL c:forEach tag iteration variable
Accessing private variables directly from outside the class
Comparator