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

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?

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” %>



Leave a Reply 2

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


giuseppe

giuseppe

D is correct

But B also is correct, container at the beginning tries to find the path if thet path exists

Google

Google

Although sites we backlink to below are considerably not associated to ours, we feel they’re actually really worth a go by means of, so have a look.