File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with Type-Conversion
 
Similar Threads
Struts 2 forms and collections
Update Database with the newly entered value
How to get Iterating value in a list of VO struts2
Struts2 - <s:iterator> in two-Dimensional Array.
Struts2 Checkbox: How to set value back to Bean