File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multi Select Drop Down

 
BuccaneerAnirban Bhattacharjee
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi people,
can some one help me , how can i Create Dropdown with multiple selection in struts. How can I retireve all the selected values in my form bean.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Specify multiple="true" with the <html:select> tag. Then Make sure the property refers to an array. The array should generally be String[], but it could also be int[]. Example:



Then in your JSP:
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic