Question: what is the difference between output link and commandlink in salesforce?
Answer: Parul. Apex:outputLink: A link to a URL. ... apex:commandLink – A link that executes an action defined by a controller, and then either refreshes the current page, or navigates to a different page based on the PageReference variable that is returned by the action.