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.
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.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.
What about using GET parameter ?ExternalResource resource = new ExternalResource("VAADIN/map.jsp?mydata=test");