tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DESBOIS S├ębastien <sdesb...@sogitec.fr>
Subject Posted content length exceeds limit
Date Wed, 02 Jan 2002 15:41:04 GMT
Hi all,
I am using a servlet to post data to my server.

the html page I am using looks like:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
  <head>
    <title></title>
  </head>
  <body>
    <form action="http://myserver/myAlias/servlet/myServlet/"
target="resultat" method="POST" ENCTYPE="multipart/form-data">
      id : <input type="text" name="id"><br>
      File : <input type="file" name="data"><br>
      <input type="submit" name"OK">
    </form>
  </body>
</html>

On my server, I have Apache 1-3-20, Tomcat 3-2-2, and add-in of O'Reilly to
manage multipart request.

Depending on the size of the file, the request return an error:
java.io.IOException: Posted content length of 2800901 exceeds limit of
1048576

Where is defined this limitation and how can I modifie it ??

Thanks in advance.

Seb.



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message