-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hassan,
Hassan Schroeder wrote: | On Wed, Apr 16, 2008 at 9:25 AM, Danilo Luiz Rheinheimer | <[EMAIL PROTECTED]> wrote: | | Probably not relevant :-) but | |> response.setContentType("text/html"); | | :: shouldn't that be ("application/json") ? You might also want to specify the content encoding using either response.setCharacterEncoding("utf8"); // or whatever or response.setContentType("application/json; charset=utf8"); The two content-length numbers are so close that you might actually be getting incorrect multi-byte counts or something like that (although that doesn't make much sense, really...). In either case, it couldn't hurt. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgGRYcACgkQ9CaO5/Lv0PAslwCgqIaF9QIhIge7X4kvled1J9d5 77cAn0JaXj4slpH9jYs0FaTZRpoKIHD6 =iq4n -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]