File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Reg: Getting data after save using Spring+Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Reg: Getting data after save using Spring+Hibernate" Watch "Reg: Getting data after save using Spring+Hibernate" New topic
Author

Reg: Getting data after save using Spring+Hibernate

Vishwanath GNV
Greenhorn

Joined: Sep 05, 2006
Posts: 6
Hi All,

I am new to Spring and Hibernate, I am facing the issue in retrieving data after saving.

Scenario:
-> I have a Listing Page where I show list of rows. And also a facility to add records when user click on Add button.
-> When user clicks on Add button, user navigates to Add Form page where user feeds data and clicks on Save button.
-> When save operation is done succesfuly, user will be navigated to Listing Page.

But, in the Listing Page, the recently added record is not showed, when i digged into the issue, I found that object is null.
I am calling Listing action as soon as Save action is done.

But when I navigate front and back, at that time listing data is dispalyed correctly.

Please tell me the solution for this issue.

Thanks & Regards
Vishwanath GNV
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reg: Getting data after save using Spring+Hibernate
 
Similar Threads
Listing and Action Form Validation
Is there an event for a file download?
Issue with intermediate posting
what does redirect attribute of action forward do when set to false
mapping.getInputForward()