my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes Html5 and Iframes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Html5 and Iframes" Watch "Html5 and Iframes" New topic

Html5 and Iframes

Sai Hegde
security forum advocate
Ranch Hand

Joined: Oct 26, 2010
Posts: 199

On my last project, we worked with a lot of iframes for loading cross domain html into our web pages and it was painful. Does html5 provide an alternative to iframes?
Rob Crowther
Ranch Hand

Joined: Nov 06, 2012
Posts: 295

Depending on what exactly you're trying to do the alternatives are CORS or Cross Document Messaging.

Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
subject: Html5 and Iframes
Similar Threads
Will HTML5 replace Javascript in future?
How to populate a jsp inside a jsp
Usage of Frames
Can I send servlet response to javascript?
How can I refresh displayed images on a html page without reloading the page