|
You are not logged in. AnnouncementForums are now closed as we moved them to google groups.
You can use the following Google Groups to discuss about DebugBar and IETester products:
#1 2008-10-14 15:14:13
Redirect in framesHi! Code:<html>
<head>
<title>Test</title>
</head>
<frameset rows="200,*">
<frame name="f1" src="Test.jsp">
<frame name="f1" src="Test.jsp?redirect=true">
</frameset>
</html>Test.jsp: Code:<%
if(request.getParameter("redirect")!=null) {
response.sendRedirect("Test.jsp");
}
%>
<html>
<head>
<script type="text/javascript">
window["undefined"]=window["undefined"];
</script>
</head>
<body onload='document.getElementById("a").innerHTML=window["undefined"];'>
<div id='a'></div>
</body>
</html>As you can see, the Main.jsp has a frame construct with two frames. The first frame is called directly with "Test.jsp". The javascript in this frame works fine. Offline |