Encode taglib ver. 1.3

    Custom JSP taglib. Lets you encode/decode data. For example:
 


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

<enc:encode>
   Will be encoded
</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: enctag.jar    Description: taglib.tld

 © Coldbeans      Comments?

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