Custom JSP taglib lets you create code for client side redirect.
Instead of using a 301 redirect, you can create a combination of a "META" redirect and Javascript to send your
visitors to new location. Both META redirects and Javascript redirects overwrite the original referrer.
The referrer becomes the page with that code on it.
For example:
<%@ taglib uri="taglib.tld" prefix="r" %> <r:ClientRedirect> http://servletsuite.com </r:ClientRedirect> Tags are: ClientRedirect Body tag creates code for client side redirect (META tag and Javascript code). Tag's body describes an URL for redirection. Parameters are: 1) url Optional parameter. Describes an url for redirection.
for downloading: Library: credirecttag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags. |
Also in Coldtags:
|