Page: http://wiki.cocoondev.org/Wiki.jsp?Page=FileUploadsWithCocoon, version: 10 on Fri Jan 24 16:28:02 2003 by 193.5.216.124
- To begin with, it may be startling for some to learn that file uploads are handled automatically by Cocoon in some (possibly default) configurations from __any__ request. What this means is that a form constructed to post a file to any Cocoon page will result in that file being saved automatically to disk. Without this knowledge, the file upload sample shipping with Cocoon ([here|http://localhost:8080/cocoon/samples/xsp/upload] in most installations) seems confusingly simple to some - the code in the xsp does not upload the file (nor does any action as some may suspect) but merely lists information about it. + To begin with, it may be startling for some to learn that file uploads are handled automatically by Cocoon in some (possibly default) configurations from __any__ request. What this means is that a form constructed to post a file to any Cocoon page will result in that file being saved automatically to disk. Without this knowledge, the file upload sample shipping with Cocoon ([here|http://localhost:8080/cocoon/samples/xsp/upload] in most installations) seems confusingly simple to some - the code in the xsp does not upload the file (nor does any action as some may suspect) but merely lists information about it.. ? +
