This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

A javabeat ques on tag library.

 
mallika shah
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is one more question from javabeat..

Which of the following statements are correct regarding tag libraries?Select 1 correct option.

A.The tag library descriptor for a tag library must be kept in META-INF/taglib.tld, if the tag library is packaged in a jar file.

B.The tag library descriptor for a tag library may be kept in WEB-INF/taglib.tld, if the tag library is packaged in a jar file.

C.A JSP 2.0 compliant container is guaranteed to generate implicating mapping for JSTL tag libraries.

D.A JSP 2.0 compliant container will automatically generate an implicit tag library for a set of tag files.

E.The tag library descriptor for a tag library not packaged as a jar file may be kept anywhere in /tld directory of the web application'sdocument root

ANS : D

I need some explanation on this point point "D" ..
Dont understand what it means..

thanks,
mallika
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is referring to JSP.8.4.3, about packaging Tag Files directly in a web application :
The JSP container must interpret the /WEB-INF/tags/ directory and each subdirectory under it, as another implicitly defined tag library containing tag handlers defined by the tag files that appear in that directory.
[ April 03, 2007: Message edited by: Satou kurinosuke ]
 
mallika shah
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Satou,
actually havent read the specs properly,
Do we really have to read all the specs properly to paas the exam??

thanks,
mallika
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we really have to read all the specs properly to paas the exam??

No, lots of ranchers don't read them. It may be useful to refer to when you have some doubts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic