paramValues"
From Documentation
Robertwenzel (talk | contribs) |
|||
Line 3: | Line 3: | ||
= paramValues - java.util.Map = | = paramValues - java.util.Map = | ||
− | A map of parameters of the request, <tt>Map<String, String[]></tt>. | + | A map of parameters of the request, <tt>Map<String, String[]></tt>, returned by [http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getParameterValues(java.lang.String) ServletRequest.getParameterValues()] |
To retrieve the first value of a parameter if any, use <tt>param</tt> instead. | To retrieve the first value of a parameter if any, use <tt>param</tt> instead. |
Revision as of 03:38, 14 June 2017
paramValues - java.util.Map
A map of parameters of the request, Map<String, String[]>, returned by ServletRequest.getParameterValues()
To retrieve the first value of a parameter if any, use param instead.
${param.something}
${paramValues.something[1]}
Notice that, in zscript, there is no paramValues. Param is a map of possible values, Map<String, String[]>.
<zscript>
String[] values = param.get("something");
</zscript>
Version History
Version | Date | Content |
---|---|---|