Forums Register Login

A javabeat ques on tag library.

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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 ]
+Pie Number of slices to send: Send
thanks Satou,
actually havent read the specs properly,
Do we really have to read all the specs properly to paas the exam??

thanks,
mallika
+Pie Number of slices to send: Send
 

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.
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 629 times.
Similar Threads
TLD files placement in JSP
Location and name of tld
tag file doubt (javabeat mock question)
Which of the following statements are correct regarding tag libraries?
Question about Tag lib
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:18:09.