Issue Details (XML | Word | Printable)

Key: FILEUPLOAD-67
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Paul Dalton
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons FileUpload

possible typo in fileupload docs on commons site

Created: 28/Jun/03 05:43 PM   Updated: 09/Mar/07 08:32 PM
Return to search
Component/s: None
Affects Version/s: 1.0 Final
Fix Version/s: None

Time Tracking:
Not Specified

Environment:
Operating System: Windows XP
Platform: PC

Bugzilla Id: 21161


 Description  « Hide
I think there is a typo in the using docs for the fileupload component
(http://jakarta.apache.org/commons/fileupload/using.html)
. In the section 'Parsing the request' and then 'The simplest case', the
listing
FileUpload upload = new DiskFileUpload();
I think should read:
FileUpload upload = new FileUpload();

A minor point, but it might confuse novices (like myself).
Apologies if I'm in error on this.

Paul.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Cooper added a comment - 29/Jun/03 01:15 AM
You're correct that there's a typo. The correct code, however, should be:

DiskFileUpload upload = new DiskFileUpload();

Fixed in CVS; will be included in next site update.