問題詳情
112 View the exhibit.

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" %>
參考答案