![]() |
![]() |
||||
At line 7 changed 1 line. |
For example: |
Example 1: |
At line 16 added 6 lines. |
Declare this in your JSP file using: |
{{{ |
<%@ taglib prefix="mytags" uri="mytags" %> |
<mytags:sometag>Test</mytags:sometag> |
<mytags:othertag /> |
}}} |
At line 23 added 16 lines. |
Example 2: |
{{{ |
<jsp-config> |
<taglib> |
<taglib-uri>http://metawerx.net/mapp/taglibs</taglib-uri> |
<taglib-location>/WEB-INF/mapp.tld</taglib-location> |
</taglib> |
</jsp-config> |
}}} |
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 /> |
}}} |