1 Reply Latest reply: May 6, 2009 5:36 PM by 843789 RSS

    Array in Map

    843789
      Is it possible to put an arry into a HashMap?

      Map paramMap=request.getParameterMap();
      String[] Str = (String[]) paramMap.get("lang");


      It does return a String[]. In the map the values are put in array form.

      I want to modify the value of "lang" in the Map. I have to put an array in the Map. But Map takes only Object.

      How to do this?

      Thanks.