Text rotate taglib ver. 1.2

    Custom JSP tags library lets you rotate chunks of texts (JSP code). Tag TextRotate displays only one of JSP code chunks on the cyclical basic. You can rotate data on the global level (application scope) or per user's requests (session scope). JSP code chunks described with the special tag Text. E.g.:

<%@ taglib uri="taglib.tld" prefix="r" %>

<r:TextRotate count="2" scope="application">

<r:Text> here is the first alternative ... </r:Text>

<r:Text> here is the second alternative ... </r:Text>



Here tag TextRotate takes 2 (attribute count) chunks defined within its body and displays (executes) them on the cyclical basic.

Tags are:


Body tag lets you display a chunk of text (JSP code) on the cyclical basic. Parameters are:

1) count Describes how many chunks will be used
2) scope Optional attribute. Describes a scope for the rotation (per user or per application). Possible values are session or application. Default value is session (rotate per user's requests).


Body tag describes a chunk of JSP code (alternative data). Parameters are:

1) cond Optional attribute. Describes a boolean value tag's behavior depends on. Default value is true (define a chunk).

for downloading:

Library: textrotatetag.jar    Description: taglib.tld

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: