• 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

utterly confused with getParent() method

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in hfsj pg550 3rd mock question the solution says C is correct which means " getParent() method can be called by a classic tag to get its parent which is a simpletag "

if the above statement is true then we can summarize the use getParent() method as follows "By using getParent() a Classic tag can access either Classic tag Parents , or Simple tag Parents and a Simple tag can access either a Classic or Simple parent.

but on page 540 it says " a classic tag can access Classic tag parents , and a simpke tag can access either a classic or simple parent.

now what i want to clarify is " can we call the getParent method in a classic tag to get the SimpleTag parent???
 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The errata now says that there is no correct answer for that question...

http://www.oreilly.com/catalog/headservletsjsp/errata/headservletsjsp.confirmed
 
sriram kalakoti
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thnaks a lot Williams


regards
Sriram
 
when your children are suffering from your punishment, tell your them it will help them write good poetry when they are older. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic