*
The moose likes Struts and the fly likes Not able to submit data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Not able to submit data" Watch "Not able to submit data" New topic
Author

Not able to submit data

shai ban
Ranch Hand

Joined: Jan 05, 2010
Posts: 177
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

Joined: May 12, 2008
Posts: 240
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.




Regards, Vijay Jamadade.
( Nothing is Impossible.)
shai ban
Ranch Hand

Joined: Jan 05, 2010
Posts: 177
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to submit data
 
Similar Threads
Saving form bean with Array of objects (collection)
Check box and Indexed properties
Not able to submit Ordered List even using Indexed property
Struts1: Nested/Indexed properties issue
Indexed Properties Example