Custom JSP tags library. Tag Sequence calculates a sequential value within the given scope. You may use this tag in two forms: 1) just prints the value
<%@ taglib uri="taglib.tld" prefix="s" %> <html> <p><i> Next value is:</i> <s:Sequence/> </html> 2) prints nothing, but creates a variable (type is java.lang.Integer) initialized
by the value. You may use this variable later in your scriptlets:
<%@ taglib uri="taglib.tld" prefix="s" %> <html> <s:Sequence id="var_name"/> <br>Value is <%=var_name.intValue()%> </html> Parameter id describes a name for this variable. E.g. in the above mentioned example this name is var_name. Tags are: Sequence Calculates a sequential value within the given scope. Parameters are: 1) init describes an initial value. Default value is 1
for downloading: Library: sequencetag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|