Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

Firefox renders page as html source

  • 2 odpowiedzi
  • 6 osób ma ten problem
  • 8 wyświetleń
  • Ostatnia odpowiedź od 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.

Wszystkie odpowiedzi (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.