Learning about JSF , I try to understand in which case that we need to pass request parameter
<h:commandButton id="submitButton" value="Submit" action="#{user.outcome}">
<f:param name="state" value="boston" />
</h:commandButton>
The pieces of code will pass request parameter to backing bean, what I don't understand is that why need such a task.
*Is it means that to tell the bean that the button is pressed then do something??
Thanks