cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cocoon Wiki] Update of "RecipeUploadUsingAction" by JacobArnold
Date Wed, 13 Jul 2005 22:01:37 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by JacobArnold:
http://wiki.apache.org/cocoon/RecipeUploadUsingAction

The comment on the change is:
One last bug fix

------------------------------------------------------------------------------
  			// strip off path (IE for Windows includes it)
  			String filename = filePart.getUploadName();
  			int lastSlash = filename.lastIndexOf('\\');
- 			filename = uploadedFileName.substring(lastSlash+1);
+ 			filename = filename.substring(lastSlash+1);
  
      			// set fileinfo
      			fileInfo.setOriginalFileName(filename);

Mime
View raw message