Thanks Muralidhar.  I was able to do that.  The dropdown is a part of the 
request form.  Another question is how do I keep the selected values displayed 
in the dropdown when the user views the saved request? 

     On Friday, February 20, 2015 11:21 PM, Yaragalla Muralidhar 
<yaragallamur...@gmail.com> wrote:
   

 the below is the select tag where you can choose multiple values

<s:select label="Pets"
      name="petIds"
      list="petDao.pets"
      listKey="id"
      listValue="name"
      multiple="true"
      size="3"
      required="true"
      value="%{petDao.pets.{id}}"
/>

*Thanks and Regards,*
Muralidhar Yaragalla.

*http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*

On Sat, Feb 21, 2015 at 2:44 AM, lilylove2shop <
lilylove2s...@yahoo.com.invalid> wrote:

> Hi all,
>
> How do I select and display more than one value from a dropdown and
> display them in jsp using struts2?
>
> Thanks
>
>
>
>


   

Reply via email to