"Quickening the Pace of JSP Development"
Friday, March 12, 2010
Home
Products
Pricing
Company
Contact Us
Samples
Download
Forums
Javadoc
Customers
« Form Tags »
<dotj:calendar>
<dotj:countries>
<dotj:form>
<dotj:img>
<dotj:input>
<dotj:radiogroup>
<dotj:select>
<dotj:selectmover>
<dotj:states>
<dotj:textarea>
« I/O Tags »
<dotj:content>
<dotj:decode>
<dotj:email>
<dotj:encode>
<dotj:filesize>
<dotj:grid>
<dotj:lastmodified>
<dotj:sql>
<dotj:upload>
« Format Tags »
<dotj:currency>
<dotj:custommask>
<dotj:date>
<dotj:dialogbox>
<dotj:lowercase>
<dotj:mixedcase>
<dotj:number>
<dotj:ssn>
<dotj:stylesheet>
<dotj:titlecase>
<dotj:toggler>
<dotj:uppercase>
« Utility Tags »
<dotj:adrotator>
<dotj:desktopalert>
<dotj:imagerotator>
<dotj:imgrollover>
<dotj:referer>
<dotj:slideshow>
<dotj:sniffer>
<dotj:tabcontainer>
<dotj:watermark>
Encode/Decode Tag Examples
The
<dotj:encode>
and
<dotj:decode>
tags can be used to encode and decode values to and from your page. Encoding is done using simple base64 encoding and should not be used as a means of encryption.
Encode Tag:
Example
Value
Result
Example 1
some sample text
c29tZSBzYW1wbGUgdGV4dA==
Example 2
January 15th, 2002
SmFudWFyeSAxNXRoLCAyMDAy
Decode Tag:
Example
Value
Result
Example 1
c29tZSBzYW1wbGUgdGV4dA==
some sample text
Example 2
SmFudWFyeSAxNXRoLCAyMDAy
January 15th, 2002
Both Tags:
Example
Value
Result
Example 1
<dotj:decode>
<dotj:encode value="some sample text"/>
</dotj:decode>
some sample text
Example 2
<dotj:decode>
<dotj:encode value="January 15th, 2002"/>
</dotj:decode>
January 15th, 2002
View Source
Get Source
Back to Samples page
home
:
products
:
pricing
:
company
:
contact us
:
samples
:
download
:
forums
:
customers
Copyright © 2000-2004 dotJ Software Inc. All rights reserved.