martinc     2003/03/03 20:47:27

  Modified:    fileupload/src/java/org/apache/commons/fileupload
                        package.html
  Log:
  Correct the name of the method used to retrieve the original file name.
  
  Revision  Changes    Path
  1.2       +2 -2      
jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/package.html
  
  Index: package.html
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/package.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- package.html      11 Apr 2002 06:03:19 -0000      1.1
  +++ package.html      4 Mar 2003 04:47:27 -0000       1.2
  @@ -43,7 +43,7 @@
           String comment = ((FileItem)i.next()).getString();
           FileItem fi = (FileItem)i.next();
           // filename on the client
  -        String fileName = fi.getFileName();
  +        String fileName = fi.getName();
           // save comment and filename to database
           ...
           // write the file
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to