File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes html:select - selected list is empty Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:select - selected list is empty" Watch "html:select - selected list is empty" New topic
Author

html:select - selected list is empty

bala gi
Greenhorn

Joined: Oct 01, 2012
Posts: 2
Hi, I need to populate an arraylist to one list box.
In Action class, I am not able to get the selected items in the 'available' list. Please advice. Thanks!
JSP:


Form:



PrescriptionForm:


Action:


Struts-config:
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Hi Bala,

Have you looked into the Struts FAQs for indexed properties?



Have Fun with Java
little,little.. little by little makes a lot..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:select - selected list is empty
 
Similar Threads
Not able to iterate through a bean property of type Array List
dynamic form elements using struts
Cannot find bean: "EMPLOYEELIST" in any scope
Logic Iterate
javax.servlet.ServletException:javax.servlet.jsp.JspException: Cannot find bean: "riga" in any scope