I'm running a web application on Karaf 2.2.8. I need to send quite a lot of
data to the server using the POST method. I get the following error message
on the web browser side:

Form too large1588889>200000

After googling I found how to reconfigure this on
http://wiki.eclipse.org/Jetty/Howto/Configure_Form_Size.

I therefore modified the etc/jetty.xml as follows:

...
<Configure class="org.eclipse.jetty.server.Server">
    <Call name="setAttribute">
      <Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg>
      <Arg>2000000</Arg>
    </Call>
...

But I still get the same error message. The configuration hasn't changed.
Am I doing this the wrong way?

/Bengt

Reply via email to