commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ume <>
Subject Re: FileUpload NullPointerException Problem
Date Tue, 25 Nov 2003 03:37:54 GMT

Thanks you for the reply.
I understood using DiskFileUpload class.
It's OK in my source and test.

However, I think that FileUpload class constructer will still be a 
Because, it is written to the document of FileUpload class 
constructer as "which uses the default factory". 1.24
      * Constructs an instance of this class which uses the default factory to
      * create <code>FileItem</code> instances.
      * @see #FileUpload(FileItemFactory)
     public FileUpload()

>Please refer to the FileUpload usage documentation, here:
>As you will see, you should be using the DiskFileUpload class, instead of
>the FileUpload class, if you want the default disk-based implementation.
>You should use the FileUpload class itself only if you need more control
>over the way in which FileItem instances are created.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message