Custom JSP taglib - widget for image files. Tag RefreshImg mimics HTML img tag and lets you output the constantly refreshed images. For example you can show webcams in your web-applications or some like that. E.g., the following code shows a webcam in Moscow,Russia:
<%@ taglib uri="taglib.tld" prefix="r" %> <r:RefreshImg src="http://www02.wdr.de/webcam/moscam.jpg" timeout="120"/> and you will get some like this:
You can provide a name for JavaScript timer as an attribute for this tag and stop updates later with JavaScript clearTimeout() call. Tags are: RefreshImg Tag outputs constantly refreshed image. Attributes are: 1) src describes an URL for the image
for downloading: Library: refreshimgtag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags. |
Also in Coldtags:
|