-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark,
On 1/21/2011 5:55 AM, Mark Thomas wrote: > On 20/01/2011 23:43, Christopher Schultz wrote: >> A'ight. It may be ignoring non-file parts. I'll look into that. > > o.a.catalina.connector.Request.getParts() Yeah, I was already poking around in there. >> If it *is* ignoring non-file parts, it seems like a bug to me. > > It isn't. You're right: I decided to stand-up a real TC7 instance, deploy my servlet into it and have a real web browser submit to it. It seems that my multipart request is also broken in some way, because Tomcat correctly returns parts=1 (the multipart part count from my test request), AND reports that there is 1 parameter available from the parameter map. >> TC may be merging non-file parts back into the parameters map, which >> sounds convenient but might be surprising to a servlet author. > > Only if they haven't read section 3.2 of the Servlet 3.0 specification. ...which I have since read :) Thanks, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk05ojcACgkQ9CaO5/Lv0PASPwCgsr8PyEvLG0GMBk1u+9+IiFgq klAAnRgR95vS2txtYWh+XgnxVug3t1WL =EFND -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org