Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in findAncesstorWithClass

 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

Rfer page no 574 HFS 2nd edition says method is in both TagSupport and SimpleTagSupport

Then look at question 6 on page 593 that says statc method in TagSupport Class(spec also says the same)

Also explain Option D (correct option)



Please clarify is it only in TagSupport

Thanks
 
namita sasa
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found this static method listed in simpleTagsupport class in following:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/tagext/SimpleTagSupport.html
But it is aloso present in tagsupport class:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/tagext/TagSupport.html
 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks yes i saw it in spec again it is present in both and i think question says it is in tagsupport but no

Only in tagsupport i think that created confusion

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic