JSF: initial request and postback request?
- by Harry Pham
Please take a look at this below line of code in JSF
<h:inputText id="name" value="#{customer.name}" />
Quote from java.sun.com
For an initial request of the page containing this tag, the JavaServer Faces implementation evaluates the #{customer.name} expression during the render response phase of the lifecycle. During this phase, the expression merely accesses the value of name from the customer bean, as is done in immediate evaluation.
For a postback request, the JavaServer Faces implementation evaluates the expression at different phases of the lifecycle, during which the value is retrieved from the request, validated, and propagated to the customer bean.
I am not sure I understand initial request vs postback request. Does the client browser make two different request to the webserver?