|
Custom JSP taglib. This taglib lets you monitor changes for some file and execute (do not execute) body depends on the detected changes. Tags save last modified time in the application (session) scope during the first execution and can execute the given JSP code on the following calls. For example: we have to do something only if file data.xml has been changed
<%@ taglib uri="taglib.tld" prefix="if" %> <if:isChanged file="data.xml"> ... </if:isChanged> You can use this taglib for cache support or for some web content management system for example. Tags are: isChanged Body tag. Executes own body if date of last modification for file has been changed. Parameters are: 1) file target file
notChanged Body tag. Executes own body if date of last modification for file has not been changed. Parameters are: 1) file target file
for downloading: Library: fmonitor.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags suite:
|