Wikipedia taglib ver. 1.1


    Custom JSP tags library lets you obtain a link for random Wikipedia article. For example:
 


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

<w:RandomWiki id="link"/>

<a href=<%=link%>>Random article</a>

Tags are:

RandomWiki

Custom lets you obtain a random article from Wikipedia. Attributes are:

1) proxyHost Optional attribute. Describes proxy settings for your host
2) proxyPort Optional attribute. Describes proxy settings for your host
3) lang Optional attribute. Describes a code for language. Default value is en - English
3) id Optional attribute. Describes a name for your page scope variable with data (link to article). Without this attribute tag simply prints data.

for downloading:

Library: wikipediatag.jar    Description: taglib.tld

 © Coldbeans      Comments?

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

Also in Coldtags: