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 A question on EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "A question on EL" Watch "A question on EL" New topic
Author

A question on EL

amarshi mohanty
Ranch Hand

Joined: Jul 01, 2008
Posts: 110
Hi All,
Plese help me in solving the below question ?

Q.Assume that a property by name 'eId' is defined in the EmployeeId object,
which inturn is contained in Employee class by the name 'empId'.


which of the following uses the correct EL for accessing the eId property?
a. ${requestScope.johny.empId.eId}
b. ${requestScope.johny.eId.empId}
c. ${request.johny.empId.eId}
d. ${requestScope[johny"[empId[eId]]]}
e. All the above.

And ans says: a, c and e.

Thanks,
Amarshi

SCJP (97%), SCWCD (95%))
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper

Joined: Apr 07, 2010
Posts: 2000
    
  39

Hi Amarshi,

In order to get an answer: please QuoteYourSource

Regards,
Frits
 
Consider Paul's rocket mass heater.
 
subject: A question on EL
 
jQuery in Action, 3rd edition