Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Avoiding blank page in JSP during reload

 
Snehal Wangikar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Do we have a javascript function which will keep the same page instead of displaying the blank page while the page is reloaded?

Thanks,
Snehal
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the browser is displaying a blank page between loads there's not much you can do about it.

If it's really a problem (and it was for me in one project) you can employ Ajax to make the requests behind the scenes and never do a page reload.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic