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 getting value from jsp dynamic table to ActionForm array Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Application Frameworks » Struts
Reply Bookmark "getting value from jsp dynamic table to ActionForm array" Watch "getting value from jsp dynamic table to ActionForm array" New topic
Author

getting value from jsp dynamic table to ActionForm array

Sumit c Gupta
Greenhorn

Joined: Mar 19, 2010
Posts: 2
Hi,

I have come across a strange problem. It is like

I have a jsp that adds rows to the table dynamically using addRow in javascript.

I have set the property as html:text =... property = "xyz"

in action form I have getter and setters for xyz as private String[] xyz;

the problem is this it takes the value of the first row only as form.getXyz[0].

rest all are gone. its a dyanamic table so cant fix the size and hence cant limit the iteration.

Please suggest.

This message was edited 1 time. Last update was at by Sumit c Gupta

Sumit c Gupta
Greenhorn

Joined: Mar 19, 2010
Posts: 2
anybody.. could plzzz help
 
 
subject: getting value from jsp dynamic table to ActionForm array
 
developer file tools