-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ahmed,
On 1/4/12 1:47 PM, S Ahmed wrote: > The point is that I want to know the effects of others sending me > large values in a http post (not an image upload, but a form > post). > > I'm assuming once it is sent by the client as a http post, and my > servlet responds to the request tomcat has already streamed that > data and whether I do: > > String p1 = request.getParameter("big_payload") > > or not, it has already been loaded into memory. If you load "big_payload" into "String p1" then yes, it will be loaded into memory, no matter what API you use. If, instead, you use stream-oriented APIs to fetch your data, then you won't run the risk of loading too much data at once. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8E360ACgkQ9CaO5/Lv0PBmRgCgiHSZhXVzViaTQpj2EeyUWPri a0EAoITzXP6Hb0du416K7Nh4dUbFdM0d =Iz1x -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org