Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Problem with Type-Conversion 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 "Problem with Type-Conversion" Watch "Problem with Type-Conversion" New topic
Author

Problem with Type-Conversion

Andreas Dilli
Greenhorn

Joined: Feb 05, 2013
Posts: 3
Hi,

i have a dynamic form that will be filled using a Form-Class with a list in a list. When i submit the form i wil get a java.lang.NoSuchMethodException while setting an integer field (setMbusScanMeasuringDeviceId([Ljava.lang.String;)]).
Here is the code:








working jsp:



JSP that causes NoSuchMethodException:



I have no idea why the first jsp works an the second not.

can anyone help me?
thanks
 
Consider Paul's rocket mass heater.
 
subject: Problem with Type-Conversion
 
Similar Threads
Struts 2 forms and collections
Update Database with the newly entered value
Struts2 - <s:iterator> in two-Dimensional Array.
Struts2 Checkbox: How to set value back to Bean
How to get Iterating value in a list of VO struts2