aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes HTML page comes BLANK in web Brwoser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "HTML page comes BLANK in web Brwoser " Watch "HTML page comes BLANK in web Brwoser " New topic
Author

HTML page comes BLANK in web Brwoser

Aashish Davee
Greenhorn

Joined: Apr 15, 2010
Posts: 2
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML page comes BLANK in web Brwoser