wood burning stoves 2.0*
The moose likes Struts and the fly likes how to select mutiplse values in SELECT TAG 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 "how to select mutiplse values in SELECT TAG" Watch "how to select mutiplse values in SELECT TAG" New topic

how to select mutiplse values in SELECT TAG

kajal mukergi
Ranch Hand

Joined: Mar 22, 2007
Posts: 102
hello friends

i need to select multiple values from select tag get into my action classs

my jsp is like this

and my Dyna form bean is...... like this in Struts-config.xml

and i am getting errors.... like this

"javax.servlet.ServletException: Cannot find bean under name LISTLABELS

so what should i do
this very urgent friends...

Thank you in advance
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This message is telling you that there is no bean named "LISTLABELS" in any scope. The solution is to have the action that forwards to this JSP create an ArrayList of LabelValueBean objects and put it in request scope under the name "LISTLABELS" prior to forwarding to this JSP.

Consultant, Sima Solutions
I agree. Here's the link: http://aspose.com/file-tools
subject: how to select mutiplse values in SELECT TAG
Similar Threads
JspException: Cannot find ActionMappings or ActionFormBeans
Cannot find ActionMappings or ActionFormBeans
Exception while running Struts
Cannot find ActionMappings or ActionFormBeans collection
html:link forward problem.