tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krish B" <www.b...@gmail.com>
Subject maxPostSize in Tomcat
Date Sat, 19 Aug 2006 13:52:23 GMT
hi,

I am trying to use maxPostSize of tomcat in 5.5.15.

I edited the server.xml and added maxPostSize = 4MB

    <Connector
port="8080"               maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true"
maxPostSize="4097152" />

I am able to post a file of size > 4 MB ( 16MB etc.. ). I was supposed to
get an error "Post too large" but dont seem to get it.

I think i have not configured it correctly...

Any pointers of how to get this right would be great.

Regards
KK

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message