Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML page comes BLANK in web Brwoser

 
Aashish Davee
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.
 
Eric Pascarello
author
Rancher
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic