Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to avoid blinking of page when it refreshes

 
jyothsna kumari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
i am refreshing a jsp page every second to read the updated data form javascript.when i am doing it,i can see the blinking.is there any method to refresh the page without the effect of bliking.
bye
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are totally re-writing the page it is going to blink. The alternative would be using JavaScript to retrieve data to an invisible document and then transfer the contents to your visible page using the Document Object Model.
Thats really a JavaScript question, not a JSP one.
Bill
 
jyothsna kumari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to read a datavalue everytime from the java classes,for that i am refreshing the whole page.can u guide me further how to do or send me a sample code to do this using Document Object Model
bye
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Urg - all the examples I have are huge and proprietary. If you are going to work in this area, you might as well get a Javascript book - a nice cheap one I like is JavaScript for the World Wide Web published by Peachpit press. You might also ask on the Javascript forum here.
Bill
 
jyothsna kumari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any one guide me further how to first write to an invisible page and then again getting back to the visible page as described above
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic