Test Site taglib ver. 1.3

    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).
 
 

for downloading:

Library: tsitetag.jar    Description: taglib.tld

 © Coldbeans      Comments?

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

Related links: