• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A question on EL

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Creator of Enthuware JWS+ V6
Posts: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Amarshi,

In order to get an answer: please QuoteYourSource

Regards,
Frits
 
reply
    Bookmark Topic Watch Topic
  • New Topic