Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox renders page as html source

  • 2 replies
  • 6 have this problem
  • 9 views
  • Last reply by 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.

All Replies (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.