Home > Contents > Index >
portal:randomval
Generates a random number between 1 and 10 to select an ad image for the banner.
Syntax
<portal:randomval minval="integer" maxval="integer" output="variable name" />Parameters
minval (required)
- Minimum integer value of the random number.
maxval (required)
- Maximum integer value of the random number.
output (required)
- Name of the variable in which to store the number generated.
Error Numbers
The possible values of
errno
include:
Value Description -2 minval is greater than maxval.
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.