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
Cheez123Cheez123 

How do i include a jsp page to my existing visualforce page

Hi,

 

I have a scenario where i  have to use a third-party jsp into my visualforce page. is it possible to include a jsp into my existing visualforce page using iframe or any other way ?

 

Any help on this is appreciated.

 

Thanx

 

Cheerz 

CloudDevCloudDev

Best bet would be to use an apex:iframe tag, as below.

 

<apex:iframe src="http://www.yourdomain.com/myjsp.jsp" scrolling="true" id="myIframe"/> 

 

You can pass data to the jsp using querystring parameters dynamically by your Visualforce controller. If you need to pass merge fields, the best bet is to add the iframe to a component then pass the merge fields as attributes into the component..