Rob Vermeulen <[EMAIL PROTECTED]> wrote:
> Hi developers,
> 
> In HttpPost there is a variable that defines the length of files that 
> can be uploaded.
> It should be nice if you are able to configure this variable.
> The big question is where to configure such variables, because util 
> classes are not really having configuration files.
> 
> I would suggest to put this variable in the mmbaseroot.xml configuration 
> file, but what do you think about it ?

The trouble if of course that HttpPost has basicly nothing to do with
MMBase, so such a configuration would be a little odd.

Could it not be a parameter of the HttpPost constructor, and then be
configured/set by the the user of the class?

Generally, configuration of 'utils' should perhaps be under config/util?



 Michiel

-- 
mihxil'  Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
[]() 

Reply via email to