This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Bartender

Joined: Apr 07, 2010
Posts: 1624
    
  23

Hi Amarshi,

In order to get an answer: please QuoteYourSource

Regards,
Frits
 
Consider Paul's rocket mass heater.
 
subject: A question on EL
 
Similar Threads
EL vs. JSP implicit objects
Internal page link
hibernate 1-many insertion
Can we send multiple textfield of same type in struts
jsp:usebean