PageReference pr = new PageReference('/www.bren.com/residential/contact');
pr.setRedirect(true);
return pr;
}Please help me with this issue.Thanks and Regards,Azar Khasim.
2 个回答
Hi Azar,Try the below change in method it will work:Public pagereference Cancel(){ PageReference pr = new PageReference('https://www.bren.com/residential/contact'); pr.setRedirect(true); return pr;}Thanks, Maharajan.C
Hello Maharajan,Thank you it's working,Actually, I have tried the same way yesterday, but it didn't work at that time.Anyway thanks for your help Mr. Maharajan.Thanks and regards,Azar Khasim.