Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

ICS.URLENCODE

Translates a string into x-www-form-urlencoded format.

Syntax

Parameters

STR (required)
The string to be encoded.

OUTPUT (optional)
Specifies an optional output variable. If this parameter is not specified, the output is streamed to the browser.

Description

The ics.urlencode tag returns the given string encoded into x-www-form-urlencoded format. The translation process is as follows:

The behavior of this tag is identical to invoking the java.net.URLEncoder.encode(String) method inside a JSP scriptlet.

Error Numbers

There are no possible errno for this tag.

Example

The following line would print "text%2Fhtml".

See Also

ICS.URLDECODE

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.