Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Applet code to redirect a frame from applet running in different frame
posted 3 years ago
I have an index.html page which contains a frameset looks like this:
<frameset rows="45,*"> <frame src="applet.html"> <frame src="page.html" name="xy"> </frameset>
I have an
running in the applet.html. What i want is to redirect the frame named "xy" to page2.html.
I tried to use this code:
getAppletContext().showDocument(new URL("page2.html"), "xy");
But it really can not work as the frame xy does not exist in applet.html, but exists in index.html.
top.frames['xy'].location = 'page2.html';
Is it possible with
I agree. Here's the link:
opening 2 JSP in the same browser (from an applet )
Disable Frame using java scrpt
JSP forward tag
Using a variable in the src attribute of frame