Custom JSP tags library lets you deploy Bit.ly URL shortening service
in your JSP (and/or Coldfusion) pages. So tag lets you calculate tiny url for the given URL as well as expand the shorten URL. For example:
<%@ taglib uri="taglib.tld" prefix="t" %> <t:BitlyUrl>http://www.servletsuite.com</t:BitlyUrl> and you will get this: http://bit.ly/fHxl and the same tag could be used for the expanding. E.g. shorten the URL and expand it back:
<%@ taglib uri="taglib.tld" prefix="t" %> <t:BitlyUrl id="A">http://www.servletsuite.com</t:BitlyUrl> <t:BitlyUrl action="expand"><%=A%></t:BitlyUrl> Tags are: BitlyUrl Body tag lets you calculate tiny url for the given data or expand the short url. Tag uses own body as a source url. Attributes are: 1) proxyHost Optional attribute. Describes proxy settings for your host
for downloading: Library: bitlytag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|