This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Cattle Drive and the fly likes Problems viewing HTML source from Internet Explorer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Problems viewing HTML source from Internet Explorer" Watch "Problems viewing HTML source from Internet Explorer" New topic
Author

Problems viewing HTML source from Internet Explorer

Michael Matola
whippersnapper
Ranch Hand

Joined: Mar 25, 2001
Posts: 1746
    
    2
Got a weird problem going with Internet Explorer (version 5.00 on Windows 2000).
Sometimes (but not always) I can't view the source of a page served by Orion. And I can't seem to be able to figure out any pattern.
I select View | Source from the menu and nothing happens. Doesn't seem to matter whether it's a static *.html page or something generated on the fly by a servlet.
Further weirdness. Sometimes I can view the source of page generated by out.println()s in doPost(), but only after receiving a warning that the source might not be accurate. Sometimes I can view the source generated by Reverse2Servlet's doGet(), but once things have been doPost()'d, I can no longer view source.
Anyone else ever experience this problem? Any ideas on how to fix?
Note that simply saving the Orion-served pages for subsequent viewing is not a perfect solution because IE inserts extra data into the HTML. (Sometimes if the page is servlet-generated, it omits everything inside the HTML body tags, which is exactly what I want to see...).
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
I use IE 5.5 on Win2K and have never run into this problem. Which version of Orion are you using (although I can't imagine why that would matter)?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Michael Matola
whippersnapper
Ranch Hand

Joined: Mar 25, 2001
Posts: 1746
    
    2
Orion Application Server 1.5.2
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Hmmm. I'm using Orion 1.5.2 also, so that's no help.
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20538
    ∞

I have had similar problems with IE on all sorts of pages. I always wrote it off as an IE problem. Shutting IE down and restarting has always worked for me.


permaculture Wood Burning Stoves 2.0 - 4-DVD set
Michael Matola
whippersnapper
Ranch Hand

Joined: Mar 25, 2001
Posts: 1746
    
    2
Well, deleting nearly 40,000 cache, er, uh, Temporary Internet Files seemed to do the trick.
At some point I realized that I stopped being able to view the source of any page. On a lark, I figured I'd do a purge of cache files, and whaddya know -- it fixed the problem.
Michael Matola
whippersnapper
Ranch Hand

Joined: Mar 25, 2001
Posts: 1746
    
    2
Hey, what's amazing now is how fast JavaRanch pages load now that I got rid of all those cache files...
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
MM's da man
Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5089
Well, deleting nearly 40,000 cache, er, uh, Temporary Internet Files seemed to do the trick
Now this needs to be documented somewhere.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems viewing HTML source from Internet Explorer