Which JSP code, inserted at line 1, completes the JSP code to invoke the hello tag?

Click the Exhibit button.
Assume the tag library in the exhibit is placed in a web application in the path /WEBINF/tld/example.tld.
1.
2. <ex:hello />
Which JSP code, inserted at line 1, completes the JSP code to invoke the hello tag?

Click the Exhibit button.
Assume the tag library in the exhibit is placed in a web application in the path /WEBINF/tld/example.tld.
1.
2. <ex:hello />
Which JSP code, inserted at line 1, completes the JSP code to invoke the hello tag?

A.
<%@ taglib prefix=”ex” uri=”/WEB-INF/tld” %>

B.
<%@ taglib uri=”/WEB-INF/tld/example.tld” %>

C.
<%@ taglib prefix=”ex”
uri=”http://localhost:8080/tld/example.tld” %>

D.
<%@ taglib prefix=”ex”
uri=”http://example.com/tld/example” %>

Explanation:



Leave a Reply 0

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