Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Iframe source
I want to embed a vaadin component in a web page. i m confused on what should come to src of iframe?
for embedding it as div i am using following:
var vaadin = {
vaadinConfigurations: {
'joinus' :{
appUri:'/server',
pathInfo: '/SubscribeModule',
themeUri: '/VAADIN/themes/sakshumTheme',
versionInfo : {vaadinVersion:"6.1.4",applicationVersion:"NONVERSIONED"}
},
}};
<div id="joinus" style="height:100px;width:120px;margin:0" align="right"></div>
Now, if I have to use it as iframe what should i put src attribute ?
Hi Vivek,
if you use iframe method, you only need to specify a regular application url, the same you type in a browser to access an app (or it's relative path), for instance: src="/myapp"