Custom JSP tags library lets you create JavaScript code for loading
data from the external source (URL). On-demand JavaScript pattern. For example, this code requests data from Twitter
in JSONP format (your own JavaScript function myFunction will accept requested data):
<%@ taglib uri="taglib.tld" prefix="j" %> <j:JSONP script="true" url="http://twitter.com/users/show/bob.json?callback=myFunction" /> Tags are: JSONP Body tag lets you create (add to the page) JavaScript code for data loading. Attributes are: for downloading:
Library: jsonptag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|