0

我有一个 servlet,它从数据库中检索一些数据,将结果写入 cookie 并将其发送给客户端。但是当我调试我的代码时,我遇到了一个奇怪的错误:

Servlet.service() for servlet [StoricoAcquisti] in context with path [/Serv] threw exception
org.apache.coyote.http11.HeadersTooLargeException: An attempt was made to write more data to the response headers than there was room available in the buffer. Increase maxHttpHeaderSize on the connector or write less data into the response headers.

我该如何解决?如果数据溢出,我应该写更多的东西吗?

4

0 回答 0