• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tag file doubt (javabeat mock question)

 
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.



 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks once again.. I got the link already from your previous post
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic