my dog learned polymorphism*
The moose likes Struts and the fly likes List not refreshing after submit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "List not refreshing after submit" Watch "List not refreshing after submit" New topic
Author

List not refreshing after submit

Yemi Dalley
Greenhorn

Joined: May 03, 2007
Posts: 12

Hello,

I have some problems with my struts 2 app.

I have an Action class that contains a list of items from the bd.

I also have a JSP page that has a criteria form for searching and the results at the bottom of the page.
When i invoke the search button my action gets called and the list is set in the Action but the jsp does not update the list, only the old list shows with originally loaded values.

stuts.xml


FTListAction.java


FTList.jsp


SCJD (URlybird)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: List not refreshing after submit
 
Similar Threads
Strurs2 example to fetch the data from database and display it on a JSP page
Struts 2 checkboxlist error - list key could not be resolved
List values are not bind with text fields
oracle database view+entity
spaces while populating using s:iterator