Could some explain the reason why the same web page read by 2 Java programs (DnldURL.java, copyURL.java) and Internet Explorer (Save file) could turn out to have different sizes. Let's look at the code of both Java programs below:
There's several factors that can influence an HTML file's size. You can have server-side code checking the user agent and rendering client-specific HTML. With IE you will get different sizes depending on if you are saving a file as "complete" (with accompanying images) or as "source only" because the complete version will need to have the image subdirectory prepended to all the image references. I've also seen IE and Firefox add the occasional random tag to fix problems in the source. The "view source" copy would not match the on-disk copy.
Originally posted by Jack Bush: I would very much appreciated if you do not respond to my question, if this is how you feel about it.
Jack, did you post that in response to a post that was subsequently deleted? Because right now it looks like it's responding to Joe Ess's post, which doesn't seem to express any negative feelings towards your question at all.
I am surprised to learnt that you like tagging an offensive comment about yourself around
Sometimes one can steal someone's thunder by taking ownership of an insult. To tell the truth, in the exchange those words were posted, I was being a bit of a jerk. As for our FAQ, HowToAskQuestionsOnJavaRanch, it's a good idea to read through it. The better question you ask, the more help we can be.
Originally posted by Jack Bush: Paul, looks like this is a misunderstanding.
Yes, it does. I have seen Joe's signature so often that it went right past me. It didn't occur to me you were taking it as part of the post. Anyway, it looks like the misunderstanding is cleared up now. Thanks all.
Destiny's powerful hand has made the bed of my future. And this tiny ad: