I'm using Cocoon 2.1 and tried out the upload example. But somehow the uploaded file doesn't appear in the upload directory.
In the example it says:
All files are cleaned out of the upload directory at the end of the request. The assumption is that other application logic will have acted on the files during the request.
So what must I do to save the file permanently on disk? I want to upload a jdbc-driver in the WEB-INF/lib directory.
My web.xml entries: ...
<init-param>
<param-name>enable-uploads</param-name>
<param-value>true</param-value>
</init-param> <init-param>
<param-name>upload-directory</param-name>
<param-value>WEB-INF/lib</param-value>
</init-param> <init-param>
<param-name>autosave-uploads</param-name>
<param-value>true</param-value>
</init-param> <init-param>
<param-name>overwrite-uploads</param-name>
<param-value>rename</param-value>
</init-param> <init-param>
<param-name>upload-max-size</param-name>
<param-value>10000000</param-value>
</init-param>What am I doing wrong?
Jonny
_________________________________________________________________
E-Mails sind zu unpers�nlich? Mit einer Webcam wird der MSN Messenger zum Bildtelefon! http://messenger.msn.de Jetzt kostenlos downloaden und der Spa� beginnt!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
