• 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

A javabeat ques on tag library.

 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Attractive, successful people love this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic