How does do perform "String [] HttpServletRequest.getParameterValues()"
with a Struts Action and Action Form?

If you a html form with a group of html checkbox elements like so

<input type="checkbox" name="fruits" value="apple" > apple
<input type="checkbox" name="fruits" value="orange" > orange
<input type="checkbox" name="fruits" value="pear" > pear

You would get an String array with raw Servlet request parameter.
Which looks like this "orange|apple| pear" assume all item were selected.

Tia
--
Peter Pilgrim          |  |        ++44 (0)207-545-9923
            .... \  \  ___   /  / ... .
            -   ----  ( * )  ---   --
_____________________________Cafe_Savannah,_San Antonio,Ibiza__



--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.


Reply via email to