414 URI too long with Apache Tomcat Eclipse

Viewed 3198

I have a long uri when i launch my query. I use apache tomcat 7.0.42 as server. I know my request is long but i want to increase the uri's length limit to do my requests. Because i always have a

414 error : request too long.

How can i do that ? I've already tried with maxHttpHeader in server.xml but there was no effects. It appears that : when i restart my server with eclispe, the 'maxHttpHeader' disappears ... why ?

<Connector URIEncoding="UTF-8" maxHttpHeaderSize="65536" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

Is any files to configure or to modify to handle this error ? I really need to. My request is to fill a dataTable.

Thank's in advanced.

2 Answers
Related