Which two are true?

Given in a single JSP page:
<%@ taglib prefix=’java’ uri=’myTags’ %>
<%@ taglib prefix=’JAVA’ uri=’moreTags’ %>
Which two are true? (Choose two.)

Given in a single JSP page:
<%@ taglib prefix=’java’ uri=’myTags’ %>
<%@ taglib prefix=’JAVA’ uri=’moreTags’ %>
Which two are true? (Choose two.)

A.
The prefix ‘java’ is reserved.

B.
The URI ‘myTags’ must be properly mapped to a TLD file by the web container.

C.
A translation error occurs because the prefix is considered identical by the web container.

D.
For the tag usage <java:tag1/>, the tag1 must be unique in the union of tag names in ‘myTags’
and ‘moreTags’.

Explanation:



Leave a Reply 1

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