jack daniels
jack daniels

Reputation: 1

HTML Page is coming blank but View source has all code

I am using Tapestry 4.1 for the web development. When I go through my HTML pages. At times, some of the pages are coming blank and view source of all those pages has the source code :(.

This is not happening on specific pages but happening very randomly on any page and very frequently.

Not sure what could be the reason behind.

Any clue/help?

Thanks, -Jack

Upvotes: 0

Views: 1650

Answers (2)

rlv-dan
rlv-dan

Reputation: 1104

I had this behavior in Firefox recently. Page was blank (server returned 403), but view source (Ctrl+U ) showed content. Turns out this content was cached. Some hard reloading fixed the discrepancy.

Upvotes: 0

Brian Agnew
Brian Agnew

Reputation: 272307

Some things to check.

  1. your HTTP headers (check out, say, LiveHttpHeaders for Firefox)
  2. does the HTML code render in the broswer if loaded as a standalone file ?

If the answer to 2) is no, then I would recommend chopping the HTML up and searching for the offending fragments that render your HTML broken.

Upvotes: 2

Related Questions