blank page in the middle of processing the request


Web tier: servlets, JSP, Web frameworks: blank page in the middle of processing the request

  1. blank page in the middle of processing the request (1 messages)

    Hi All,

     In my web application one particular request takes long time to complete the process. While in the middle of process am getting a page in the browser that says "The page cannot be displayed"
    --- some message ---
    Cannot find server or DNS Error
    Internet Explorer

    But in the back ground the process is going on. Even though the process is success in the back ground am not getting the next page in the browser. How to prevent the blank page that is going to displyed while processing the request.

    thanks in advance
  2. Sounds like your browser is simply timing out..

    One trick to get past this is to have you browser autorefresh every 10 seconds or so..

    You could have a page displayed saying, "Process request..."

    and have the page by refreshed automatically by the browser using a meta tag:

    <META HTTP-EQUIV=Refresh CONTENT="10; URL=">
    tells the browser to load 10 seconds after the current document has finished loading. Not all browsers support this, so authors should provide an alternate means of moving to the new page where necessary. The Refresh header is sometimes used for "splash screens" or when a page has moved, but the technique is not very effective since users may not even be looking at the window that is to be refreshed and since it messes up the user's history on many browsers. Some search engines penalize pages that use a Refresh of a few seconds or less.

    Hope this helps,