|
Posted by Neredbojias on 10/24/94 11:41
With neither quill nor qualm, RobM quothed:
> Hi folks
>
> Has anyone seen this before... have xhtml page (generated by a JSP) which,
> when viewed _via web server_ it causes IE to display the syntax (its own
> version too, altered xml) instead of the page. Yet... when view source and
> save it to a file.html on local disk and open it again within IE from that
> disk file, it displays the page ok. (!?!??). Something to do with http
> headers coming down the line?
>
> Other browsers dont have this issue.
>
> The JSP which generated this page also generates it as readonly (no input
> fields) depending on business rules... this DOES display OK on IE.. and this
> uses the same headers and style sheets etc but without all that massive
> javascript. So must be something in the code makes a difference?
>
> WHy does IE display the syntax and not the page itself? It validates with
> w3c checker thing.
>
> The page is a bit big and complicated, I'm doing some maintenance on it (it
> was many frames), its xhtml because of an example I found which enables a
> div scrolling but the use of 'fixed' causes problems in IE and this is the
> evidently the way to go (searched for examples on removing frames and css).
>
> The source is on http://users.bigpond.net.au/snootfrog/wip/viewsource.html
>
> As mentioned, its big and horrific, but saved to a file and opened from that
> file it then displays somewhat!
>
> Pointers to the reason appreciated !
> Cheers
> Rob
Wow, that's really interesting. I get a color-coded view of the source,
like in an html-enhanced editor. Didn't know IE could do that. Could
it be perhaps because the page name is "viewsource"? Dunno...
--
Neredbojias
Contrary to popular belief, it is believable.
Navigation:
[Reply to this message]
|