File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "list not updating on submit" Watch "list not updating on submit" New topic

list not updating on submit

Dave Jamz

Joined: Sep 29, 2012
Posts: 8

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?


I agree. Here's the link:
subject: list not updating on submit
It's not a secret anymore!