This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes how to include frame page inside jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to include frame page inside jsp" Watch "how to include frame page inside jsp" New topic
Author

how to include frame page inside jsp

ayman elgharabawy
Greenhorn

Joined: Sep 12, 2002
Posts: 19
my code is here but it is not working as i want to include a page with frame sets inside a table but it load in the whole page
<%@ include file="contact_main_frame.jsp" %>
<html>
<body>
<table border=1><tr><td>
<!--
<%@ include file="contact_main_frame.jsp" %>
doesn't work here!!! -->
</td>
</tr>
</table>
</body>
</html>


Ayman Elgharabawy<br /> <br />SCJP1.4
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

In HTML you can have a 'normal' page or you can have a frameset. it is not legal to have both. If you want frame-like capabilities on a normal page, you should investigate the iframe element.
Moving to HTML/Javascript for any further discussion.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: how to include frame page inside jsp
 
Similar Threads
Struts template tag does not work properly in VisualAge for Java WTE
need help with s:radio tag, display in a very strange way
calling action while loading the home page
Problem with forwarding page towards error page
class file is not loading while running JSP file