wood burning stoves 2.0
The moose likes HTML, CSS and JavaScript and the fly likes How to implement Frames in Xhtml? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to implement Frames in Xhtml?" Watch "How to implement Frames in Xhtml?" New topic

How to implement Frames in Xhtml?

Matt Hardy

Joined: Nov 03, 2011
Posts: 18
I tired to implement Frames in xhtml in eclipse

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<title>Frameset Document</title>

<frameset cols="20%,80%">
<frame src="Menu.htm" />
<frame src="Home.htm" />


and it shows the HTTP Status 404.. Could you please tell me how to get rid of this error?

Tim Moores

Joined: Sep 21, 2011
Posts: 2409
There probably is a way, although I would prefer if there weren't. Frames went the way of the dodo years ago (as did XHTML, actually, for most practical purposes). There are most likely better ways of achieving what you're trying to do.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63052

A 404 is the bad use of a URL that references a non-existent resource.

And yeah, frames are rather a dinosaur.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Matt Hardy

Joined: Nov 03, 2011
Posts: 18
Thank you.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16897

I think that frames get too little respect, but JSF doesn't play well with frames, regardless.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link: http://aspose.com/file-tools
subject: How to implement Frames in Xhtml?
It's not a secret anymore!