redisplay « Page « JSF Q&A

1. Redisplay same page

2. redisplay value h:inputbox after SUBMIT (not page reload)

When you submit an action to JSF, the JSF server will run through the JSF lifecycle. That includes validating the data, updating the backing bean, executing the action method, and finally generating the new View and sending it back to the client. Whatever value is in the referenced backing bean property of the inputText control at the time the action method ...