B billzhan Active Member Licensed User Longtime User Mar 15, 2016 #1 Hi, When send data (ajax post) to a server handler, an exception is thrown when data size is too large. B4X: java.lang.IllegalStateException: Form too large 1519351>200000 Is there anyway to increase the max form size (for one or two server handlers)? I am using B4J 3.7/4.2 http://www.eclipse.org/jetty/documentation/current/setting-form-size.html I am aware that ServletRequest.GetMultipartData can be used. Last edited: Mar 15, 2016
Hi, When send data (ajax post) to a server handler, an exception is thrown when data size is too large. B4X: java.lang.IllegalStateException: Form too large 1519351>200000 Is there anyway to increase the max form size (for one or two server handlers)? I am using B4J 3.7/4.2 http://www.eclipse.org/jetty/documentation/current/setting-form-size.html I am aware that ServletRequest.GetMultipartData can be used.
Erel B4X founder Staff member Licensed User Longtime User Mar 15, 2016 #2 B4X: Dim jo As JavaObject = srvr jo.GetFieldJO("context").RunMethod("setMaxFormContentSize", Array(1000000)) Upvote 0
B4X: Dim jo As JavaObject = srvr jo.GetFieldJO("context").RunMethod("setMaxFormContentSize", Array(1000000))