TinyUrl taglib ver. 1.2

    Custom JSP tags library lets you deploy TinyUrl API in your JSP pages. So tag lets you calculate tiny url for the given URL. For example:
 


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

<t:TinyUrl>http://www.servletsuite.com</t:TinyUrl>

and you will get this: http://tinyurl.com/3w9s9v

Tags are:

TinyUrl

Body tag lets you calculate tiny url for the given data. Tag uses own body as a source url. Attributes are:

1) proxyHost Optional attribute. Describes proxy settings for your host
2) proxyPort Optional attribute. Describes proxy settings for your host
3) id Optional attribute. Describes a name for the page scope (type is java.lang.String) for the calculated data. Without this parameter tag just prints the tiny url.
4) cond Optional attribute. Describes a boolean value tag's behavior depends on. Default value is true (shorten the url)

for downloading:

Library: tinyurltag.jar    Description: taglib.tld

 © Coldbeans      Comments?

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

Also in Coldtags: