If szData is the content of your textarea 
your are just doing a get. 

To post something you need a form with method="post"

The Post request has no maximal size (at least none 
that I know). Get is limited by apache by some 1400 
bytes, what the spec says I haven't looked for.

> -----Urspr�ngliche Nachricht-----
> Von: Danny Heinen [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 2. Oktober 2001 16:21
> An: [EMAIL PROTECTED]
> Betreff: HTTP POST request: maximum allowed data?
> 
> 
> Hi,
> 
> I have to tranfer data from a textarea to a JSP page, by 
> using the HTTP POST
> request.
> 
> I do it by javascript:
> 
> var newPage = "/nnn/newpage.jsp?" + szData;
> window.location.href=newPage;
> 
> The data will be saved in a database then. I wonder what's the maximum
> allowed data to send with a POST command. And the GET? I had 
> a look in the
> RFC but didn't find any size limitation. But there is one.
> 
> Is there a way to setup the web server (I'm currently using Tomcat
> standalone 3.2.3 and 4.0) to accept more data?
> 
> Thanks for any info.
> 
> Danny Heinen
> HITEC Luxembourg S.A.
> 
> 
> 

Reply via email to