搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Sometimes HTML source is being shown instead of rendering it

  • 6 个回答
  • 7 人有此问题
  • 13 次查看
  • 最后回复者为 anjesh1704

more options

Sometimes my webpage shows the html source instead of rendering. If i refresh the page it shows my page correctly. My html tags are correct and i have added meta tag 'meta http-equiv="content-type" content="text/html; charset=utf-8"' on the page head. It doesn't happen in IE8. The behavior is too random as the page which shows error might not show again if i access it after sometime so providing the URL might not be useful. I am using firefox version 7.0.1.

Sometimes my webpage shows the html source instead of rendering. If i refresh the page it shows my page correctly. My html tags are correct and i have added meta tag 'meta http-equiv="content-type" content="text/html; charset=utf-8"' on the page head. It doesn't happen in IE8. The behavior is too random as the page which shows error might not show again if i access it after sometime so providing the URL might not be useful. I am using firefox version 7.0.1.

所有回复 (6)

more options

The default of the pref network.http.max-connections has been increased from 30 to 256 in Firefox 6+ versions.

You can try to decrease the value of the pref network.http.max-connections from 255 to a more modest setting like 30 as used in Firefox 3 versions.

more options

I have tried doing that but still the page is showing html source.

more options

Reload web page(s) and bypass the cache.

  • Press and hold Shift and left-click the Reload button.
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Cmd + Shift + R" (MAC)

See also:

more options

It doesn't seem to be a cache issue as the html page renders properly once i do simple refresh. The issue happens once in a blue moon and if i refresh the page it shows properly.

more options

This might happen due to Installed Download Manager or any application that attached itself to a browser ex. ( ultra surf. ).

Deactivate it and try to refresh the page.

if xhtml or jsf is not taking by firefox lower version then add <f:view contentType="text/html"/> after and before Hope this help.

more options

My firefox is clean. It just has the firebug in Add-ons. I have added content type to my jsp page but still its showing the html source.