wood burning stoves*
The moose likes JSP and the fly likes how to avoid blinking of page when it refreshes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to avoid blinking of page when it refreshes" Watch "how to avoid blinking of page when it refreshes" New topic
Author

how to avoid blinking of page when it refreshes

jyothsna kumari
Ranch Hand

Joined: Jul 21, 2003
Posts: 108
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

Joined: Mar 22, 2000
Posts: 12761
    
    5
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

Joined: Jul 21, 2003
Posts: 108
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

Joined: Mar 22, 2000
Posts: 12761
    
    5
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

Joined: Jul 21, 2003
Posts: 108
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to avoid blinking of page when it refreshes
 
Similar Threads
Error while forwarding to other page
this JSP may help many people?
Page not found
September 2003 Newsletter Article Discussion - The Coffee House
Snow is for the weak!