aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Frame refresh problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Frame refresh problems" Watch "Frame refresh problems" New topic

Frame refresh problems

Kishan Patel

Joined: Nov 19, 2009
Posts: 1
Hi All,

I've been working with constructing one website which used to run as an independent site in all aspects on a Jboss server (as a war file deployment).
Let's say the site is accessed as <>. This site keeps downloading the newer versions of cab files as and when they are changed. So far as it's an integrated environment we can do a full window refresh and nothing goes wrong.

Recently because of changes in some requirements, that site is being called in a frame from a different site. Now the parent site for my site is: <>

Now the frame that's getting called in the "BottomFrame" downloads some cab files. Because of security violation we cannnot reduce the security settings of the browser.

When the cab file download request comes and a yellow bar appears in the top we click on it and allow the download. During this time we want the page refresh to happen only for the site present in the "BottomFrame". Please suggest an approach where we have to make changes only in the pages in

If the entire window is refreshed then because of some internal mechanism the session data of my site is lost completely and I'm not able to go back to the current page.

This code modification should be done only in my code (the one deployed on the

Please check the html page for the view source that happens now. Suggest me a javascript approach to only refresh the frame in which my pages open up.


<title>My trials with Cab files </title>
<link href='' rel='stylesheet' />
<link href='' rel='stylesheet' />

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

<script src="/js/mycommon.js"></script>

<frameset rows="32,*" frameborder="NO" border="0" framespacing="0" onload="setHeaderFrame();">

<frame name="TopFrame" scrolling="NO" marginwidth="0"
noresize src="/Myexperiments/Sample_trial.jsp">

<frame name ="BottomFrame" scrolling="YES" noresize src=''>


<body bgcolor="#FFFFFF" text="#000000">




I agree. Here's the link:
subject: Frame refresh problems