Firefox renders page as html source
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)
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)
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.