aspose file tools*
The moose likes Struts and the fly likes Struts1: Nested/Indexed properties issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts1: Nested/Indexed properties issue" Watch "Struts1: Nested/Indexed properties issue" New topic
Author

Struts1: Nested/Indexed properties issue

shai ban
Ranch Hand

Joined: Jan 05, 2010
Posts: 177
Hi all,
I am facing the below exception...



Below is the code....

JSP snippet:


ActionForm and Beans:


When we see the html source, there is property named "orderItem[0].orderAddress[0].address". I think first it will call getOrderItem(index) then getOrderAddress(index) and then setAddress... but I am not able to debug.
Let me know if you need any other snippet of my code.

Please provide some solution.
shai ban
Ranch Hand

Joined: Jan 05, 2010
Posts: 177
Will anybody reply here
Sara El-Kady
Greenhorn

Joined: Jan 11, 2010
Posts: 14
Hi Shai,

I'm new to struts too but I'll try to help ..

I think you should write it as follow
shai ban
Ranch Hand

Joined: Jan 05, 2010
Posts: 177
Thanks for replying Sara but I don't think it is correct. Because property is in not into ?
Am I wrong?





Sara El-Kady wrote:Hi Shai,

I'm new to struts too but I'll try to help ..

I think you should write it as follow
Khalil Salman
Greenhorn

Joined: Sep 05, 2010
Posts: 11
Hi Shai,
I got the same issue..

Did you solve that problem finally?
 
wood burning stoves
 
subject: Struts1: Nested/Indexed properties issue