469,898 Members | 1,532 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

FRAMES: refreshing-reloading both frames

nmm32
9
I have this simple HTML page:
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title></title>
  4.  
  5. </head>
  6.  
  7. <frameset cols="220,*" FRAMESPACING="0" BORDER="0" FRAMEBORDER="0">
  8.     <frame src="left.jsp"  name="frame1" SCROLLING="auto">
  9.               <frame src="right.jsp" name="frame2" scrolling="auto" frameborder="1" border="2">
  10.  
  11.     </frameset>
  12.  
  13. </html>
I see that when I refresh the browser window, only the left frame reloads and the right one does not.

Both pages are coded in JSP, but both pages has the response set to "no cache:
Expand|Select|Wrap|Line Numbers
  1. response.setHeader("Pragma", "no-cache");
  2. response.setHeader("Cache-Control", "no-cache");
I would like to know if there is a code to "tell" the HTML page to reload both frames when the user clicks on the refresh button.

Any help is appreciated.

---Thank you---
Jul 18 '07 #1
1 1491
nmm32
9
Ok.... I tried with this code, but it is not working:

<body bgcolor="ivory" onLoad="isMSIE(); block(document.frmSelect.year), block(document.frmSelect.day), block(document.frmSelect.time1);parent.frame2.location="right.jsp";">
Jul 18 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by Philo Del Middleston | last post: by
60 posts views Thread by A.Translator | last post: by
5 posts views Thread by Scott Tilton | last post: by
5 posts views Thread by Jensen Bredal | last post: by
1 post views Thread by Steve S | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.