Hi,
Instead of configuring the file upload options declaratively, how do I do it programmatically?
<interceptor-ref name="fileUpload">
<param name="maximumSize">
1024
</param>
<param name="allowedTypes">
image/png,image/gif,image/jpeg
</param>
</interceptor-ref>
The FileUploadInterceptor provides 2 methods: setAllowedTypes and setMaximumSize. How could I invoke these methods? I would want to read these values from a database table then call the methods to configure.
Cheers!