Google News
logo
JSF - Interview Questions
What is h:commandLink tag in JSF (JavaServer Faces)?
JSF renders it as an HTML "a" anchor element that acts as a form submit button when clicked. So, you can create an anchor tag by using this tag.

An <h:commandLink> tag must include a nested h:outputText tag, which represents the text that the user clicks to generate the event. It's also required to be placed inside a <h:form> tag.
Advertisement