Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

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.