File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Avoiding blank page in JSP during reload 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 » Engineering » HTML, CSS and JavaScript
Bookmark "Avoiding blank page in JSP during reload" Watch "Avoiding blank page in JSP during reload" New topic

Avoiding blank page in JSP during reload

Snehal Wangikar

Joined: Feb 29, 2008
Posts: 2

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

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60810

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.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: Avoiding blank page in JSP during reload
Similar Threads
damn the requestDispatcher
jsp include
unbale to view xml file in browser
couldn't send request to the server.404 error recieving
Does EL returns null value ... URGENT pls