Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to submit data

 
shai ban
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a struts app where the data structure of ActionForm is as below...



I have made setters/getters for every property in all the bean.
Apart that, in ActionForm for populating the bean dynamically I have designed the following reset method()...




The Jsp code I am using for iterating this is...



The problem is... I am not able to submit the data. In the Action, orderAddress.address is not getting populated. Please help me.
 
vijay jamadade
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry I am not getting your problem.

I did not find any submit code in jsp code that you have provided. What exactly you want to do? Explain without code so that I can tell you the scenario.

Or else see the jsp source whatever names/ property it is displaying that you can get in action with the help of form instance if you have property for that in form for that jsp.


 
shai ban
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Thanks for reply.
JSP is code is as below...



This is the simple jsp, but whatever I am entering into the 'address' field, it is not getting submitted!!!
Let me know if you want the source files. In that case give me your email id, i will mail you or tell me the way to attach the source code into the forum.

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic