• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tag file doubt (javabeat mock question)

 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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's document root

given answer : D

Actualy i don't understand the given answer. Implicit tag library means TLD for the tag files OR something else?? Please help
I know that when declaring tag files we do not need to provide the TLD until they are placed under META-INF/tags directory.



 
Janez Novak
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the jsp spec 2.0, chapter JSP.8.4.3 will explain Implicit tag library.

However you are right implicit tag library means TLD for the tag files.
 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks budy

Please provide me the link to jsp spec 2.0, chapter JSP.8.4.3
 
Janez Novak
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem

Here you will find pdf version for jsp spec:
http://jcp.org/aboutJava/communityprocess/final/jsr152/index.html

 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks once again.. I got the link already from your previous post
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic