Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

414 URI too long with Apache Tomcat Eclipse

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.

like image 255
DyM Avatar asked Nov 21 '22 11:11

DyM


1 Answers

i just pass my request in POST. Now it works !

like image 51
DyM Avatar answered Dec 28 '22 07:12

DyM