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 see examples of integration layout vaadin in jsp pages. But I can't displaying a jSP page embedded in layout panel vaadin. I tried using the next code:
URL url = new URL("http://elcomercio.pe/");Embedded browser = new Embedded("", new ExternalResource(url));browser.setType(Embedded.TYPE_BROWSER);myPanelLayout.addComponent(browser);
But this code is displaying a web pages, I changed the url by path jsp page and not worked.
I think you could modify the web.xml
Maybe you could modify the application-context... I don't know...
I need help.
Does the same JSP page work with that URL directly? If not, the problem might be in servlet mappings (e.g. Vaadin servlet mapped for /* and JSP servlets do not get to see the requests).
What goes wrong when trying to show it in an embedded browser (iframe)?