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

Hi,

What about using GET parameter ?
ExternalResource resource = new ExternalResource(“VAADIN/map.jsp?mydata=test”);

Regards