aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes refresh page itself without flickering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "refresh page itself without flickering" Watch "refresh page itself without flickering" New topic
Author

refresh page itself without flickering

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

<%response.setHeader("referesh", "8, url=xyz");%>

is there any way without flickering?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60058
    
  65

Depending upon the browser, there's likely to be some flicker as the page is repainted.

Why are you refreshing the whole page like it's 1998? Ajax was introduced to update on-page data without a whole-page refresh almost a decade ago.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Bear Bibeault wrote: Ajax was introduced to update on-page data without a whole-page refresh almost a decade ago.

i am not sure about ajax, but ajax response for an event. and i need to perform this refresh every x minutes. i can also do this onload of a page but limiting time delay on java script ok?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19544
    
  16

JavaScript knows timers too.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60058
    
  65

Seetharaman Venkatasamy wrote:i am not sure about ajax,

Long past time to fix that.

but ajax response for an event.

Don't know what you mean by this.

and i need to perform this refresh every x minutes.

Use a JavaScript interval.

i can also do this onload of a page but limiting time delay on java script ok?

Subject has given an uncodable response.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: refresh page itself without flickering
 
Similar Threads
Image Viewer Applet
Buffering in Java
Swing Application Flickering?
flickering in java
avoiding flickering