1 Reply Latest reply on Jun 22, 2004 4:33 PM by duslow

    HTTP Form POST Truncated

    cromantm

      Platform: JBoss 3.0.6/Jetty???

      Problem: Form POST request are being truncated by JBoss if the Content Length > 100,012 bytes. ( I can consistently replicate this using a JSP form)

      The problem becomes apparent when you do a
      request.getParameter("foo");
      which results in a null value although foo is populated.

      Anyone knows...
      Where is the problem?
      Is this a know bug and is there a fix for it?

      By the way, I'm not sure what version of Jetty JBoss 3.0.6 is using, how do I find out?

      Thanks very for you help.
      -cromantm

        • 1. Re: HTTP Form POST Truncated
          duslow

          If you are using Jetty, you need to set the following System property ..

          -Dorg.mortbay.http.HttpRequest.maxFormContentSize={max num bytes}

          Jetty has a small default limit on form posts as a safety precaution.