• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

refresh page itself without flickering

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%response.setHeader("referesh", "8, url=xyz");%>

is there any way without flickering?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64620
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20494
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript knows timers too.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64620
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic