• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

The method setValue(String, Object) in the type TagSupport is not applicable for the arguments (Obje

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to struts, and i have assigned task. In my task getting error while showing data in the dropdown.

I have got all data from hibernate and added into ArrayList by using Iterator.

getting to Action class as a ArrayList Object.

now i am setting in the action class itself


How i have to dispaly the data in my JSP page dropdown box.



Generated servlet error:
The method setValue(String, Object) in the type TagSupport is not applicable for the arguments (Object)
Ones user clicked UserGroup option - control will bed passed to UserGroup.jsp from login page, in there we need to display all the users in the dropdown(means 2nd page)


How to user <OptionCollection> tag?

if any one knows answer please mail me back.

Thanks
Saran.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic