Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Frames in frame with JSP?

843836Nov 28 2003 — edited Nov 28 2003
Usually you use index.html to connect frames like main.html and top.html to each other.
We are trying to use book.jsp to connect the frame name.jsp (on top) and blank.jsp (placed at the bottom). Is it possible to use frameset and frame and should you, where you are suppose to give the src, write a jsp statment which includes the jsp file?
If it is not possible, how can we solve the problem?

Thanks!
Sara and Unn


Regular index.html with targets as html
_______________________________________

<html>
<head>
<title>Labbokning</title>
</head>
<frameset framespacing="0" border="0" frameborder="0" rows="*,450,*">
<frame src="frameborder.html" scrolling="0" marginwidth="0" scrolling="0" marginheight="0" noresize>
<frameset framespacing="0" border="no" border="0" frameborder="0" cols="*,700,*">
<frame src="frameborder.html" scrolling="no" marginwidth="0" scrolling="no" marginheight="0" noresize>
<frame src="labbokning_1.html" scrolling="no" noresize marginwidth="0" marginheight="0">
<frame src="frameborder.html" scrolling="no" marginwidth="0" scrolling="no" marginheight="0" noresize>
</frameset>
<frame src="frameborder.html" scrolling="no" marginwidth="0" scrolling="no" marginheight="0" noresize>
</frameset>
<frame src="frameborder.html" scrolling="no" marginwidth="0" scrolling="no" marginheight="0" noresize>
</frameset>
</html>

Depending on the users choice Labbokning_1.html should change and in this case consist of 2 frames (name1.jsp and blank.jsp)
_____________________________________________________________________________


<frameset rows="225,*" frameborder="YES" border="5" framespacing="5" bordercolor=red >
<frame src=<%@ include file="name1.jsp"%> name="top" scrolling="no" noresize marginwidth="0" marginheight="0">
<frame src="dukebanner.html" name="bottom" scrolling="no" noresize marginwidth="0" marginheight="0">
</frameset>

Since it is a jsp-page calling another jsp-page, we should not have html-tags or body-tags,correct?


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 26 2003
Added on Nov 28 2003
1 comment
319 views