This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

refreshing

 
Relu Ovidiu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a webpage...with frames...3 ... top...left ..right...in the<b>rigth</b> a have a link to a servlet... in that servlet i put a text on right frame and i want to make a <b>refresh</b> of the left frame(page).. how can i do that? is it possible?
 
Richard Bradford
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way would be to output javascript into the right frame along with the html for showing the text.
Something along the lines of the following will probably work:
<script language='javascript'>
top.nameofleftframe.location='/pathToYourServlet';
</script>
 
wally fer
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this will help...
frame 1 to call frame 2 refresh.
top_frameset_name. frame(2). history .
go()
Let me Know.
 
Relu Ovidiu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I resolved the problem with this:
parent.frames['stg'].location.href=parent.frames['stg'].location.href
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic