May be the bean populated with the new set of data retrieved from the database, is not set in session.
Use a JSP to display the records, in your JSP use the usebean tag to show the data.
or create the bean with data retrieved from database, and put it in request object.
request.setAttribute("mybean");
and get this bean in the jsp
request.getAttribute("mybean");
and display the values from the bean as follows
<%
MyBean myBeanObj = (MyBean) request.getAttribute("mybean");
String username = myBeanObj.getUserName();
%>
<input type=text name=mytextbox value= "<%=username%>">