This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes struts problem in getting updated data from textbox which is in iterate tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts problem in getting updated data from textbox which is in iterate tag " Watch "struts problem in getting updated data from textbox which is in iterate tag " New topic
Author

struts problem in getting updated data from textbox which is in iterate tag

mahesh dasari
Greenhorn

Joined: Mar 09, 2010
Posts: 1
hello,
i have one problem in retrieving updated data from textbox which in in iterate tag.

this code is in jsp page which is part of table:
the form code(EffortForm):now i hav got two actions for this jsp page:
1) one which is called before the jsp page loads to show data on page load
2) after i click update on jsp page

action 1:
i am retrieving from the db in form of arraylist and showing it on jsp page. this is working fine.action 2:
here i want to retrieve back the updated data from jsp page.

action 2 update code(EffortAction):EffortDb and Effort are model class.

problem is in action2 ...when i do the necessary changes in the textbox and then click update, i am not getting the updated data of the textbox in action2.

Please help asap.... how to get the updated changes on action page.

Thanks...
 
Consider Paul's rocket mass heater.
 
subject: struts problem in getting updated data from textbox which is in iterate tag