This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 1 nested collection not getting populated. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1 nested collection not getting populated." Watch "Struts 1 nested collection not getting populated." New topic
Author

Struts 1 nested collection not getting populated.

pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 408

Hi,


I have a collection of Line object in my ActionForm and then in the each Line object I have another collection of Inch object. I am trying to display that which works fine. But when I make a change and submit it. It's not putting values in the Inch collection.

I have below code:
















Please let me know what is the issue. I am not sure what I am doing wrong here.


Pawan Chopra
SCJP - DuMmIeS mInD
pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 408

It worked thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1 nested collection not getting populated.
 
Similar Threads
bean cannot be found in any scope
problem in accessing a list through a iterate tag.
"No getter method for property ..." error
Struts: form with multiple text fields with same name
exporting in excel using display tag in struts