HTTPS taglib ver. 1.5

    Custom JSP taglib. Tag secureRedirect forces users to deploy https protocol in requests. With this tag all non-SSL requests get redirected to SSL. In other words if some incoming request uses http protocol it will be redirected to the SSL equivalent (https).

For example:
 


<%@ taglib uri="taglib.tld" prefix="s" %>

<s:secureRedirect/>

Tags are:

secureRedirect

Redirects non-SSL requests to the SSL equivalent. Parameters are:

1) port Optional parameter: describes a port for SSL connection in case of it is not 443.
2) cond Optional parameter: describes a boolean value this behavior depends on. Default value is true (redirect).

for downloading:

Library: httpstag.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: