开发者

Spring - mvc ( SimpleFormController ) with hibernate database insertion

I have made one example , In which I have used Spring - mvc and开发者_如何学编程 hibernate. I have successfully insert data in the database table but after that I have refresh the page new entry is inserted.

Required Solution : When I refresh the page the database entry would not be inserted second time.


Required Solution : When I refresh the page the database entry would not be inserted second time.

Then send a redirect after submit (by returning a RedirectView).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜