Test Site taglib ver. 1.4

    Custom JSP tag. This tag allows you to request the last modified date for the given document (site).

For example:
 


<%@ taglib uri="taglib.tld" prefix="check" %>
<html>

<check:testSite site="http://www.acme.com" id="A" />

Last modified: <%=A%>

</html>

Tags are:

testSite

Requests document (URL) and stores extracted value (last modified date) in the page scope variable (type is java.util.Date). Value will be null if requested web site is not accessible. Parameters are:

1) site URL for testing
2) id name for the page scope variable (type is java.util.Date).
3) timeout Optional parameter. Describes a timeout for HTTP request (in milliseconds).
4) proxyHost Optional parameter. Describes proxy settings for your system.
5) proxyPort Optional parameter. Describes proxy settings for your system.
 
 

for downloading:

Library: tsitetag.jar    Description: taglib.tld

 © Coldbeans      Comments?

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

Also in Coldtags: