Hello i am using jsf and i have this form

<h:form>
  <h:inputHidden id="user_id" value="3" />
  <h:commandButton action="userprofile.xhtml?faces-redirect=true" value="Profile" />
  <h:commandButton action="addappointment.xhtml" value="Appontment" />
</h:form>

How i can access at the page userprofile the value user_id=3 ?
Thanks

Is it possible to do this? cause i am trying and i can not find the solution

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.