Custom tag location
WEB-INF/tlds/xxxx. tld
Note: It must be defined in the tld file:
Tlibversion -------- Tag library version
Jspversion -------- the JSP version required by the Tag library.
Shortname ------- default name. (Not defined in this example)
Uri ------------------- URL of the Tag library
Info ----------------- usage information of Tag library
Tag ----------------- custom tag
Name --------------- name of a custom tag
Tagclass ----------- name of the java class for processing the tag. Different tags may correspond to different java classes for processing.
Teiclass ----------
Bodycontent ----- indicates the type of the property value. If no identifier is identified, it is implicitly a JSP
JSP ------------------- interpreted by page
EMPTY ------ ----------- no body allowed
TAGDEPENDENT ----- interpreted by tag
BodyTag required
BodyTag can post-process JSP
Info ------------------ usage information of this tag
Attribute ----------- attribute. Each tag can have n attributes.
In this example, four tags are defined.
Attribute.