Link symbols taglib ver. 1.1

    Custom JSP taglib lets you add hyperlinks to any sequence of symbols within the given text. For example, the following code add hyperlink to Coldbeans site for any word cold within the given text:
 


<%@ taglib uri="taglib.tld" prefix="s" %>
<s:LinkSymbol href="http://www.servletsuite.com" symbol="cold">
As seems to me, cold weather is not a big issue for Moscow. Sometimes it is very cold here.
</s:LinkSymbol>

and you will get some like this:
 

As seems to me, cold weather is not a big issue for Moscow. Sometimes it is very cold here.

Tags are:

LinkSymbol

Body tag lets you add hyperlink to any sequence of symbols within the body. Attributes are:

1) symbol Describes a symbol (symbols) for hyperlinks
2) href Provides an URL for hyperlinks
3) target Optional attribute. Describes a target attribute for hyperlinks
4) className Optional attribute. Describes a CSS class for hyperlinks
5) style Optional attribute. Describes a CSS style for hyperlinks
 

for downloading:

 Library: linksymboltag.jar     Description: taglib.tld

 © Coldbeans      Comments?

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

Also in Coldtags: