You can pass the parameters with <apex:param
tag. You needhave to combine <apex:param
withuse <apex:commandLinksetRedirect(true);
in your controller as below. Hope this helps.
<apex:page standardController="Contact" extensions="CommandLinkParamController">
<apex:form >
<apex:commandLink value="Processpublic Nickname"PageReference action="saveNextResponse(){!processLinkClick}">
//doing a DML <apex:paramas name="nickName"well
pageRef = new PageReference('/apex/Question');
value="{!contactpageRef.firstname}"setRedirect(true);
assignTo="{!nickName}"/>pageRef.getParameters().put('question',nextQuestionId);
pageRef.getParameters().put('filter',filter);
</apex:commandLink>pageRef.getParameters().put('questionBank',questionBankId);
</apex:form>return pageRef;
</apex:page>}