-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gregor,
On 3/18/2009 11:08 AM, Gregor Schneider wrote: > On Wed, Mar 18, 2009 at 3:47 PM, Christopher Schultz > <ch...@christopherschultz.net> wrote: >> >> Wireshark does full TCP capture but also "understands" protocols, so it >> will show you only the HTTP details for a particular packet, etc. >> > But will this help to find out the characterset of encoded string in > an RMI-object? Er, RMI objects should be sent using no encoding... that is, serialized objects encode themselves. For java.lang.String, the serialized form is always in UTF-8. From section 6.2 ("Stream Elements") of the java serialization protocol: " The representation of String objects consists of length information followed by the contents of the string encoded in modified UTF-8. The modified UTF-8 encoding is the same as used in the JavaTM Virtual Machine and in the java.io.DataInput and DataOutput interfaces; it differs from standard UTF-8 in the representation of supplementary characters and of the null character. " There should be no concern with RMI, here. > If I understand André correctly, he wants to find out the encoding > dirung the communication between servlet & java-demon - I doubt that > this goes as HTTP over the wire. He doesn't say whether he's using RMI, but my guess is he isn't. I suspect he's using something ad-hoc. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknBHLIACgkQ9CaO5/Lv0PByIgCgj7eMQkAc1ZcZ7ldy78Qts3eB JOUAn3Yoo9AZ7gyExUC6A25xFhW6bnwF =bw9A -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org