title: Passing Values from page to other page JSF
body: <p>I am beginner in java server faces (JSF), I need to pass the content of text input to second page to display it, the same applies for the second page: I want to pass radio buttons values to a third page. I searched and tried a lot without success. 
  For example I tried </p>
  
  <pre><code> &lt;h:commandButton value="Next" action="#{myBean.execute(input_id.value)}"/&gt;
  </code></pre>
  
  <p>Execute method is:</p>
  
  <pre><code>public void execute(String value) {
  // ...
  
      try{
           FacesContext.getCurrentInstance().getExternalContext().dispatch("/Quizy.xhtml?faces-redirect=true");
      }
      catch(Exception e){
          System.out.println("err");    
      }  
  }
  </code></pre>
  
  <p>Any suggestions?</p>