Custom JSP taglib. Lets you encode/decode data with base64 encoding.
For example:
<%@ taglib uri="taglib.tld" prefix="enc" %> <enc:encode>
or you may pass data as a parameter:
<enc:encode data="will be encoded"/> Tags are: encode Encodes data. You may set source string as a parameter data or as a body for this tag. With parameter id result will be saved in the page scope variable, without this parameter it will be just printed. Parameters are: 1) id Optional parameter. Defines a page scope variable
decode Decodes data. You may set encoded string as a parameter data or as a body for this tag. With parameter id result will be saved in the page scope variable, without this parameter it will be just printed. Parameters are: 1) id Optional parameter. Defines a page scope variable
for downloading: Library: base64tag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|