function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Eyal_WizEyal_Wiz 

redirect in apex

I'm trying to find a way to call to a URL. like window.location in javascript.
 
I tried finding the answer in the apex developer's guide but nothing camp up.
 
for example, I want to redirect the page to go to www.google.com
 
any suggetions?
 
 
Thanks
Eyal
Ron HessRon Hess
Apex Code is a server side language, there are no user interface features except the error message possible with addError()

you can visit the Visualforce development pages for information on navigation using visualforce