File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

refreshing

 
Relu Ovidiu
Greenhorn
Posts: 12
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic