Custom JSP taglib. You can use this taglib with Redirect filter.
This taglib lets you add/remove the redirection rules right from your JSP pages. For example let us define that any request
to /a/test1.jsp must be redirected to /mypage.jsp
<%@ taglib uri="taglib.tld" prefix="r" %>
Tags are: addRedirection Body tag lets you add a redirection rule. Body describes a target url. Parameters are: 1) url Describes a basic url.
removeRedirection removes the redirection rule. Parameters are: 1) url Describes a basic url.
for downloading: Library: redirectflt.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|