limitations of POST method

Hello all,

Is there a limit for the amount of data that we can pass using http POST method ?. We are planing to pass XML using a input field to a servlet. This XML is dynamic and can grow.

I would like to know if there is a limit for passing data using http POST. If yes then, Can we override the limitations somehow ?. Is the limitation web/app server dependent ?.

Thanks for your help & time in advance.

Vishwa

[448 byte] By [vishwarna] at [2007-9-19]
# 1
I am not aware of any limitation but you wouldn't want to upload a big file from web anyway for security reasons.
sunil_patela at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 2

> I am not aware of any limitation but you wouldn't want

> to upload a big file from web anyway for security

> reasons.

this is probably waaaaay late, but what "security reasons"?...thx

ps. my post kinda hangs (dataoutputstream.close()) on large (40+mb) posts.

sblackburna at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 3

There will be problems on the server because it's gotta read in all the data from your browser into memory.... so if it's running low or running java and the max stack and heap sizes are too small it'll throw an out of memory exception....

Then from the browser standpoint... I know for a fact that Netscape is unstable when uploading a large file... I think IE is ok as long as the machine has enough memory to deal with it...

This is probably a case where making a client application would be usefull instead of trying to do it all from the web.....

voidta at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...