Which XML element within the web application deployment descriptor defines the associated TLD?

A JSP page contains a taglib directive whose uri attribute has the value dbtags. Which XML
element within the web application deployment descriptor defines the associated TLD?

A JSP page contains a taglib directive whose uri attribute has the value dbtags. Which XML
element within the web application deployment descriptor defines the associated TLD?

A.
<tld>
<uri>dbtags</uri>
<location>/WEB-INF/tlds/dbtags.tld</location>
</tld>

B.
<taglib>
<uri>dbtags</uri>
<location>/WEB-INF/tlds/dbtags.tld</location>
</taglib>

C.
<tld>
<tld-uri>dbtags</tld-uri>
<tld-location>/WEB-INF/tlds/dbtags.tld</tld-location>
</tld>

D.
<taglib>
<taglib-uri>dbtags</taglib-uri>
<taglib-location>
/WEB-INF/tlds/dbtags.tld
</taglib-location>
</taglib>

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *