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.
Embedding a webpage that returns a 404 (ex: www.vaadin.com) causes vaadin app to load the docbase path. How do I prevent this from happening and just showing a 404 error just like it would embedding it straight into an iFrame.
Embedded e =newEmbedded("Vaadin web site",newExternalResource("www.vaadin.com"));//note malformed because http is missing
Equivalnet HTML code:
<iframesrc="www.vaadin.com"><p>Your browser does not support iframes.</p></iframe>