Charles
Sorry for those mistakes. Please find the correct code below
The tag library descriptor shown in the exhibit has been kept in /WEB-INF/mytlds/tld1.tld folder of the webapplication. What should be inserted at line 6 so that line 7 will work as expected?
5. ...
6. <<INSERT CODE HERE >>
7. <mytags:tag1 />
tld1.tld:
code:
<uri>
http://abc.com/tld/mytaglib</uri>
<tag>
<name>tag1</name>
<tag-class>com.abc.Tag1</tag-class>
<body-content>scriptless</bodycontent>
</tag>
Assume that the application can be accessed through
http://localhost/myapp 1. <%@ taglib prefix="mytags" uri="/WEB-INF/mytlds/tld1.tld" %>
2. <%@ taglib prefix="mytags" uri="http://abc.com/tld/mytaglib" %>
If we were asked to select either of these options which one should we select?
Thanks
Srividhya