Custom JSP tag. Tag Copy saves own body
in the page (request, session, application) scope variable. In other words it
is similar to clipboard. You may save (copy) some content and use (paste) your
output later for any post-processing (log data, email them etc.). For example:
<%@ taglib uri="taglib.tld" prefix="def" %> <html> ... <!-- save content in the page scope variable A --> <def:Copy id="A"> ... ...<!-- your JSP code is here --> ... </def:Copy> Client will see: <%=A%> </html> Tags are: Copy This tag puts own body into page (request,session,application) scope variable. Parameters are: 1) id variable name
for downloading: Library: copytag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|