0 Replies Latest reply on Mar 26, 2007 4:23 PM by ?ukasz Budnik

    servlet and html multi select

    ?ukasz Budnik Newbie

      Hi all,

      I have very annoying situation, I'm using HTML select with multiple="1" but I can not actually see the multiple options in my servlet

      the following HTML code renders in browser without any problem (as expected select list is multiple)

      <select multiple="1" name="test"><option selected="1" value="k">kkk</option><option value="m">mmm</option><option value="n">nnn</option>

      if I select all of above options and submit form i can see only
      the first option, what about the rest?

      for (String key: parameters.keySet()) {
       System.out.println(key + " = " + parameters.get(key)[0]);

      any idea how to retrieve all the results?

      best regards