A recently-made Web project uses the EXTSJ4 framework, which requires an export Excel feature that is implemented by EXTJS4 's own export method. The code for Excel is generated in the foreground, and the form submission is passed to the background output. The foreground grid data exceeds 1000 rows after the export data background cannot receive. A lot of search on the internet is the size of the tomcat transfer data by default to 2m, will tomcat in the Server.xml
<connector port= "8080" protocol= "http/1.1" connectiontimeout= "20000" redirectport= " 8443" maxpostsize= "0"/> Add maxpostsize= "0" can solve the problem, but set to 0 after the user name password is not received, and then went to search to find the original to set the maxpostsize to negative means not to limit the size of the transmission, Solve the problem.
Here's what I set up.
<connector port= "8080" protocol= "http/1.1" connectiontimeout= "20000" redirectport= "8443" maxPostSize= "-1"/>
Hope to help everyone!
EXTJS4 foreground export grid data generated Excel, large amount of data background cannot receive data