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?
Thanks in advance.
posted 5 years ago
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.