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
BeatofHeartBeatofHeart 

URL ENCODE issue

I am trying to place an iframe in Visual force for refer in home page component . but still i am not sure i am getting some error . below is my code. 

public without sharing class iframecontroller {   
Public String encoded{get; set;}       
public String getEncoded()
 { 
encoded = EncodingUtil.urlEncode('http://corpdev.corptest.com/ibi_apps/WFServlet?%26IBIAPP_app=acs_reporting%26IBIF_ex=sfdc_am%26IBIMR_proc=is_sfdc_am_db' 'UTF-8');  
   System.debug('encoded= ' + encoded);     

   return null;    }

 

<apex:page sidebar="false" showheader="false" tabstyle="Account" controller="iframecontroller">
<iframe src="{!encoded}" />
</apex:page>

 i am referring this VF page on Home page component. but url is not showing.

 

any help would be greatly appriciated.