*
The moose likes Struts and the fly likes list not updating on submit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "list not updating on submit" Watch "list not updating on submit" New topic
Author

list not updating on submit

Dave Jamz
Greenhorn

Joined: Sep 29, 2012
Posts: 8
Hi

My problem is when I click submit on my jsp. when I update values that I retrieve from the database inside of the c:foreach the only thing coming back is the headers for the table. the row that contains the data is gone. When using debug on the first time in I can see the values that populate the list and when I click on submit all of the values for the list are null. What do I need to add so that on a submit I will not have null values coming back and have the row disappear?


UnitAction


jsp
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: list not updating on submit
 
Similar Threads
null pointer exception in struts2
How to update a image using servlet?
List of checkboxes and Array/ArrayList data binding not working.
get table values from jsp to servlet
null pointer exception in struts2...