This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes Requset entity too large message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Requset entity too large message" Watch "Requset entity too large message" New topic

Requset entity too large message

Dilip Mallik
Ranch Hand

Joined: Sep 19, 2008
Posts: 40
Hi All,

Actually I am sending a request object which has got around 500 data records and my aim is to diplay all those records in an excel sheet.Sometimes when the records are in the range of 300 - 400 I am able to generate the excel but when the count is more than 500
it is showing an error in the browser saying:-
Request entity too large

The request resource
does not allow request data with post requests, or the amount of data provided in the request exceeds the capacity limit.

How to circumvent this situation?

Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112
I think that you should change the max_packet_size configuration in the connector settings of your server.
I agree. Here's the link:
subject: Requset entity too large message
It's not a secret anymore!