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 Android Security Essentials Live Lessons 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
Author

How to implement Frames in Xhtml?

Matt Hardy
Greenhorn

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"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

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

<head>
<title>Frameset Document</title>
</head>

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


</html>





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

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
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
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

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
Greenhorn

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

Joined: Jun 25, 2001
Posts: 15960
    
  19

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to implement Frames in Xhtml?
 
Similar Threads
submit button is not working
!DOCTYPE and function refreshIt() not working together
Help needed in facelets
Frames
Facelets and JSF