• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to implement Frames in Xhtml?

 
Matt Hardy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2745
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A 404 is the bad use of a URL that references a non-existent resource.

And yeah, frames are rather a dinosaur.
 
Matt Hardy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that frames get too little respect, but JSF doesn't play well with frames, regardless.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic