In Struts 2, the default maximum file size to upload is 2 MB. To change this, simply create a property file "struts.properties" under the classpath and add the following key/value pair into it:
(This example changes the maximum file size to 10,240,000 bytes.)
No comments:
Post a Comment