Yes it is correct, just look at the javadoc API.
To get an array of all values for the example:
page.jsf?param1=value1¶m1=value2
results in "param1" = { "value1", "value2" }
Use:
http://tinyurl.com/yn7nff
To get just the first value use:
http://tinyurl.com/yxvput
public abstract Map<String,String[]> getRequestParameterValuesMap()
vs.
public abstract Map<String,String> getRequestParameterMap()
-Andrew
On 1/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Are parameters values always stroed as String arrays?
I use
the ExternalContext method getParameterValuesMap
The method valuesMap getValue() method returns a string array.
In the example page.jsp?param=param1
I get
["param1]
is the correct and why is this so?