2017年11月30日 星期四

QUESTION 67

View the exhibit.
image

Assume the tag library in the exhibit is placed in a web application in the path /WEB- INF/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" %>


Correct Answer: D

沒有留言:

張貼留言