• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Required to know Interfaces/Classes & Methods in core jstl?

 
Kram Nart
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it required for the exam to know about the implementation interfaces/classes and methods of the JSTL? (e.g. - LoopTag, LoopTagStatus, etc)

Thanks
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most of the functionality is provided by the tags themselves - so no, you don't need to know about the implementations. The only exception is LoopTagStatus which provides a way to get extra information about a loop. So I would learn the basic methods on that interface (they're mostly obvious, like getCount(), getIndex(), isFirst(), isLast() etc.) and be prepared to use them in EL. For example, you should be able to predict the output of the following:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic