Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts1: Nested/Indexed properties issue

 
shai ban
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will anybody reply here
 
Sara El-Kady
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shai,
I got the same issue..

Did you solve that problem finally?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic