Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

HTML page comes BLANK in web Brwoser

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

I am using J2EE for creating web application.(JSF richfaces, jetty web server)

In some case when I navigate my page. HTML page comes blank (where it should display content of page).

I have try to view source in some browser (e.g. chrome) whole HTML code generates but page comes blank in browser.

But when i refresh the page the page load successfully with correct data.

Anybody has any idea why it happens so?
Please help me if you have solution to this problem.

I tired with deleting cookies manually but it wont work as it also destroy the session.
So if any other solution?
(Can we check by JavaScript whether page loaded with content or not? if browser shows blank html page we can reload the page.)

Thanks in advance.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use a tool such as fiddler to capture the http traffic and when you see the problem, check out what Fiddler sees. Doing view source normally generates another request to the server which is why it is loading correctly.

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic