This sample illustrates how to create and use a custom
tag using JSP tag extension mechanism.
A loop tag is defined in this sample. It is similar to
a for-loop construct in other programming language.
exampletag.tld is the tag library descriptor XML file
that describe the basic information of that tag in a declarative way.
ExampleLoopTag.java is the main java class that defines
the behavior of the tag. It is used in both runtime and translation time.
exampletag.jsp is the actual JSP usage sample.
It shows how to use the loop tag in a nested for-loop. |