File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to implement Frames in Xhtml?

 
Matt Hardy
Greenhorn
Posts: 18
  • 0
  • 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
Pie
Posts: 2488
4
  • 0
  • 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: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17616
39
Android Eclipse IDE Linux
  • 0
  • 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