File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Requset entity too large message

 
Dilip Mallik
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that you should change the max_packet_size configuration in the connector settings of your server.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic