This content has been marked as final.
Show 5 replies
-
1. Re: Limit on post data size
clerum Jun 25, 2009 7:06 AM (in response to raomadhavrao)Since a String.length() returns a int Java API
Doesn't that limit a String to 2,147,483,647 characters (due to the int being signed)?
-
2. Re: Limit on post data size
raomadhavrao Jun 25, 2009 7:13 AM (in response to raomadhavrao)Thanks for your reply. Yes, that limit would be 2 billion characters, but through Seam i am not able to pass more than 1.9 million characters before the post parameter is retrieved throgh seam as null. Why is that?
-
3. Re: Limit on post data size
clerum Jun 25, 2009 7:19 AM (in response to raomadhavrao)Not sure if it works for all post data but there is an option in web.xml to control the max file size for upload. Not sure if a large String would be blocked by that..defaults to 1 Million bytes
<filter> <filter-name>Seam Filter</filter-name> <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class> <init-param> <param-name>createTempFiles</param-name> <param-value>false</param-value> </init-param> <init-param> <param-name>maxRequestSize</param-name> <param-value>10000000</param-value> </init-param> </filter>
-
4. Re: Limit on post data size
raomadhavrao Jun 25, 2009 7:49 AM (in response to raomadhavrao)will that be applied to text fields as well?
-
5. Re: Limit on post data size
amitev Jun 25, 2009 11:38 AM (in response to raomadhavrao)No. This should be configured at server level. Look Here. In the table there is a property 'maxPostSize'.