Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Not able to submit data

 
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.
 
Ranch Hand
Posts: 258
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.
 
expectation is the root of all heartache - shakespeare. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic