Jul 7th, 2008, 05:46 PM
Display Same Form View.
I am using spring MVC framework in my web applcation. I have made a web page for Adding the product. I have a concern regarind the page navication.
Which is as follow.
That when i click on the ADD button of Product page then product is saved and my conceren is this that when page is saved then the same page is displayed on which i have added the product and also show the all fields populate in the page and after saving the Prodcut in database a Message will be show on the top of the page that "Product Save Succefully" but the problem is this
That when i mention the name of the page in successsView property of SimpleFromController then i give me an error message some binding Errors occur.
If i do not mention the same page of Add product in SuccessView property then it work fine.
So kindly give me solution that i redirect to the same page when prodcut is saved with the save message