Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to implement Frames in Xhtml?  RSS feed

 
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
Saloon Keeper
Posts: 3828
79
  • 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
Posts: 66141
141
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
Bartender
Posts: 18661
71
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!