![]() |
![]() |
||||
At line 7 changed 1 line. |
Example 1: |
!Example |
At line 10 removed 16 lines. |
<taglib> |
<taglib-uri>mytags</taglib-uri> |
<taglib-location>/WEB-INF/jsp/mytaglib.tld</taglib-location> |
</taglib> |
</jsp-config> |
}}} |
Declare this in your JSP file using: |
{{{ |
<%@ taglib prefix="mytags" uri="mytags" %> |
<mytags:sometag>Test</mytags:sometag> |
<mytags:othertag /> |
}}} |
Example 2: |
{{{ |
<jsp-config> |
At line 32 removed 6 lines. |
This taglib can be used in your JSP file as follows: |
{{{ |
<%@ taglib prefix="mapp" uri="http://metawerx.net/mapp/taglibs" %> |
<mapp:sometag>Test</mapp:sometag> |
<mapp:othertag /> |
}}} |
At line 17 added 1 line. |
!Notes |