Hi All,
I modified the Jeeves code to allow the configuration of the maximum file size that can be uploaded.
I did the following:
- Changed the ServiceContext class to support the maxUploadSize property
- Changed the ServletManager to support the maUploadSize property
- Changed the ServiceRequestFactory to create use the maxUploadSize parameter when creating the ServiceRequest object
- Changed the JeevesEngine class to load the property from the config.xml file
- Added the <maxUploadSize> parameter to the config.xml file at the level of the uploadDir parameter
- Removed the static integer that was used to set the upload size
Ciao,
Jeroen