Get your CodeRanch badge!*
The moose likes XML and Related Technologies and the fly likes The method setValue(String, Object) in the type TagSupport is not applicable for the arguments (Obje Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "The method setValue(String, Object) in the type TagSupport is not applicable for the arguments (Obje" Watch "The method setValue(String, Object) in the type TagSupport is not applicable for the arguments (Obje" New topic
Author

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

saravanan sambandam
Ranch Hand

Joined: Aug 30, 2010
Posts: 42
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The method setValue(String, Object) in the type TagSupport is not applicable for the arguments (Obje
 
Similar Threads
The method setValue(String, Object) in the type TagSupport is not applicable for the arguments (Obje
No getter method for property name of bean userList
Display Check Boxes & Dropdowns in Struts with search results
Struts ArrayList Display in JSP
how to preselect value in dropdownlist in jsp struts