Skip to Main Content
Mastering JavaServer Faces 2.2
book

Mastering JavaServer Faces 2.2

by Anghel Leonard
June 2014
Intermediate to advanced content levelIntermediate to advanced
578 pages
12h 2m
English
Packt Publishing
Content preview from Mastering JavaServer Faces 2.2

Postback and AJAX

Throughout this book, we have mentioned the postback request several times. For those who are not familiar with it, or just need a quick reminder, let's say that JSF recognizes the initial request and the postback request.

Initial request (for example, HTTP GET) is the first request that the browser sends for loading the page. You can obtain such a request by accessing the application URL in a browser or by following a link (it can be a link to any page of the application). Moreover, the initial request happens in page_B when page_A contains a redirection (faces-redirect=true) to page_B (this is not true for forwarding mechanism). This kind of request is processed in Restore View phase and Render Response phase.

Postback request ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JavaServer Faces

JavaServer Faces

Hans Bergsten

Publisher Resources

ISBN: 9781782176466Supplemental Content