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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 week ago
How to get Data From Vaadin to HTML/Jsp File?
I have created a HTML page that is called from Vaadin.
I have written the following code to call HTML page from Vaadin.
ExternalResource resource = new ExternalResource("VAADIN/map.jsp");
Embedded browser= new Embedded("",resource);
browser.setType(Embedded.TYPE_BROWSER);
browser.setSizeFull(); browser.setData("Test Data");
This code successfully redirect to map.jsp file, but i am unable to send the data with it.. I have added browser.setData("Test Data");, but i am unable to understand how to get this data in jsp file.
Kindly guide me how to do this.
Thanks
Last updated on
Hi,
What about using GET parameter ?
ExternalResource resource = new ExternalResource("VAADIN/map.jsp?mydata=test");
Regards
Last updated on
You cannot reply to this thread.