This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ page 380 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 "HFSJ page 380" Watch "HFSJ page 380" New topic
Author

HFSJ page 380

Vivek Gupta
Greenhorn

Joined: May 02, 2005
Posts: 23
HFSJ page 380
Code magnets exercise:
What can be the different EL expressions which can be put to print the same result?

Leelu's dog Clyde's toys are: stick, neighbour's cat, and a Barbie doll head
My try-
${person["name"]}'s dog ${person["dog"].name}'s toys are: ${person["dog"].toys[0].name},${person["dog"].toys[1].name}, and a ${person["dog"].toys[2].name}

Can it be written by without using the dot (.) operator and "only using" the [] operator.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFSJ page 380
 
Similar Threads
HFSJ page 380
EL - [ ] and .
Using pageContext in EL
Problem with the Scriptless JSps Page 378 question (Code Magents) from the Head First book 1st edt
EL code magnet question from CH 8 HFSJ