搜索 | 用户支持

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

详细了解

Firefox renders page as html source

  • 2 个回答
  • 6 人有此问题
  • 8 次查看
  • 最后回复者为 esterbenz

more options

I am having a weird problem with an application I'm developing. One particular page in the application renders in Firefox as HTML source instead of the page. It works correctly in IE. If I save the page as a file and then open in Firefox it renders correctly. I can't see anything wrong with the HTML. Not sure where to turn. Any help would be appreciated. Thanks. It's an internal web site. sorry. Just thought someone might have seen a similar problem.

I am having a weird problem with an application I'm developing. One particular page in the application renders in Firefox as HTML source instead of the page. It works correctly in IE. If I save the page as a file and then open in Firefox it renders correctly. I can't see anything wrong with the HTML. Not sure where to turn. Any help would be appreciated. Thanks. It's an internal web site. sorry. Just thought someone might have seen a similar problem.

所有回复 (2)

more options

Make sure that you give the file a file extension like .html that makes the server send the file as text/html. If you see HTML code then the server sends the page as text/plain (Tools > Page Info > General)

more options

It actually a jsp page that is part of a web application running in Websphere. Other jsp pages in the application render just fine. Just this one. The odd thing is when I run it in my local DEV environment directly on the application server it works fine. When I push it into the real env which includes a webserver (IBMIHS) it breaks.