Anyone again?
--- RXZ JLo <[EMAIL PROTECTED]> wrote: > My servlet reads an xml file from the disk and just > outputs it as the response. When I access the URL > from > IE, I get the xml file finely. But when I access the > xml from my VB program, the xml seems to be somewhat > different(I dont know in what way its different but > MS > XML parser refuses to parse it; IE shows it nicely > though). > > The tomcat access log is as follows: > the file size is 1489 > > When IE requests it, the log is > x.x.x.x - - [18/Nov/2002:16:38:24 -0600] "GET > /myservlet?id=120 HTTP/ > 1.0" 200 1496 > > When VB requests it, the log is > x.x.x.x - - [18/Nov/2002:16:38:24 -0600] "GET > /myservlet?id=120 HTTP/ > 1.0" 200 1489 > > That is, when IE requests the xml Tomcat is sending > 7 > bytes more. > > I have the following in my servlet: > String xml = ... > System.out.println ("xml size: " + xml.length()); > PrintWriter out = response.getWriter(); > out.print (xml); > > This prints 1489 for both the requests. > > What are those 7 bytes that get added to the > response > to IE, and more importantly WHY? > > Frustrated, > Rf. > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - Let the expert host your site > http://webhosting.yahoo.com > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>