Recently i have written a blog on how to implement PRG pattern in your Spring MVC web application in here. In this blog i would explain implementing this pattern in your JSF based web applications. I think this can be used for any JSF implementations like RichFaces, MyFaces etc.
Having said that, for me writing this blog post is very easy as i am not going to write it myself. Rather i would direct you to well written blog on the same topic by Ed Burns in the below URL:-
https://blogs.oracle.com/enterprisetechtips/entry/post_redirect_get_and_jsf
For AJAX based submissions there shouldn’t be any issues because these requests are being submitted by JavaScript.
Ed is currently the co-spec lead for JavaServer Faces. He is the coauthor of JavaServer Faces: The Complete Reference and the author of Secrets of the Rockstar Programmers. He is also the coauthor of the upcoming book JavaServer Faces 2.0: The Complete Reference. Read Ed Burns’s blog.
I wrote this blog so that i cover the two most used web application frameworks with respect to this pattern and its implementation.
Page Visitors: 981

Tomcy John

Latest posts by Tomcy John (see all)
- Shoo trackers and advertisements away - February 16, 2018
- Data, data everywhere… Prediction Four - February 14, 2018
- Data, data everywhere… Prediction Three - February 9, 2018