| Author |
JSP auto refresh flickering problem
|
Vignesh Babu M.J
Greenhorn
Joined: Jan 12, 2008
Posts: 3
|
|
Hi,
Can anyone tell me how to avoid flickering problem when a jsp page get refreshed automatically ( every 1 seconds ).
every second java bean is being called in that jsp page..
Regards,
Vignesh.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
This has nothing to do with JSP. It's just the browser redrawing the page. The only way to avoid it is not to do it.
Why are you refreshing the page so often? Without more information, how can anyone suggest alternatives?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Vignesh Babu M.J
Greenhorn
Joined: Jan 12, 2008
Posts: 3
|
|
Hi,
Here is the code.
Is there any better way to avoid flickering problem?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
|
You did not answer my question: why? Without knowing what you are really trying to accomplish, it's hard to suggest alternative solutions.
|
 |
Mark E Hansen
Ranch Hand
Joined: Apr 01, 2009
Posts: 639
|
|
|
Assuming you need to refresh the page for some reason, one possible solution would be to use Ajax. Using Ajax, you can send a request to the server, get the response, and apply it to your page elements - all without refreshing the page.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
|
Exactly why I asked for clarification. If all that is necessary is for the data on the page to be periodically updated, an Ajax solution would be perfect.
|
 |
Vignesh Babu M.J
Greenhorn
Joined: Jan 12, 2008
Posts: 3
|
|
Hi,
Exactly i wanted some portion of the page need to be updated periodically( say, once in every second ). Finally i could able to accomplish using AJAX.
Thanks for your valuable support. Really it helped me a lot...... thanks again...
|
 |
 |
|
|
subject: JSP auto refresh flickering problem
|
|
|