Two Laptop Bag
The moose likes Servlets and the fly likes Requset entity too large message Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Requset entity too large message" Watch "Requset entity too large message" New topic
Author

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
/abcwas/ControllerServlet
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?

Thanks
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: http://aspose.com/file-tools
 
subject: Requset entity too large message
 
Similar Threads
Splitting a large excel file into small multiple files
Entity Bean Usability
Problem in downloading the report in excel
Which is faster?
how to increase the maxPostSize of the request