James Jithin

Greenhorn
+ Follow
since Mar 08, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by James Jithin

I have a Java Object with many other nested Objects and lists of Objects. When the request arrives from the client, I see that the Object is populated only to a few levels. Is there any configuration that sets this is Struts 2? Here is my example.



When I call the `populate` method and when send to the jsp, the iteration happens good with all the elements. But, when I try to update, i.e. when then form is submitted, the `update()` method is called, but the instance variable abc does not get populated completely.

I have seen the url which is passed and everything seems to be fine. Let me tell you what happens. The url will be something like (splitting with line break for easy understanding here),



In this case, the `defList` inside `abc` and `ghi.ghiName` in `abc` are populated with no issues. But the `defList` of `abc.ghi` is not populated. Is this a common behavior of Struts 2? Is there any means by which this can be overridden?
12 years ago
I had to do this and has found this works fine

12 years ago