Hello Martin,

+1 to support disabling of multipart handling.

Sunday, July 22, 2001, 8:38:52 AM, you wrote:

MC> Unless I'm mistaken, there is currently no clean way to disable Struts'
MC> multipart handling mechanism. The class used for the multipart handler can
MC> be specified in an init-param value, but if that is not supplied, the
MC> default (DiskMultipartRequestHandler) is used.

MC> Two cases where someone might want to disable Struts' multipart handling are
MC> (1) where the container (e.g. Resin) provides multipart handling that is
MC> adequate for the application's needs, and (2) where the application
MC> developer wants to use an existing multipart handler (e.g. O'Reilly).

MC> To allow the developer to disable Struts' built-in multipart handling, I
MC> propose recognizing the special value 'none' for the 'multipartClass'
MC> init-param. That is, the following, in web.xml, would disable Struts'
MC> multipart handling:

MC>     <init-param>
MC>         <param-name>multipartClass</param-name>
MC>         <param-value>none</param-value>
MC>     </init-param>

MC> Would anyone have a problem with this? If not, I'll go ahead and make the
MC> change.

MC> --
MC> Martin Cooper





-- 
Best regards,
 Oleg                            mailto:[EMAIL PROTECTED]


Reply via email to