• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic