Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • 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:
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!