Home > Contents > Index >
ics:getcookie
Gets a property value from the currently loaded Sites property files.
Syntax
<ics:getcookie name="property name" [output="variable name"]/>Parameters
name
(required)- Name of the property to retrieve.
output (optional)
- Specifies an optional output variable. If this parameter is not specified the output is streamed to the browser.
Description
satellite.cookie sets a cookie on the user’s browser. This tag is the only way to set
cookies in either XML or JSP.Error Numbers
There are no possible
errno
for this tag.Example
The following example displays the value of a property from an alternative property file.
<ics:getcookie name="mycookie"/>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.