Hello !
In a 'DownloadServlet' I need to create a zip-file to be downloaded by the
user. The zip-file contains a complete directory tree which is temporarily
created by the servlet.
Creating directories and copying files to these new directories works fine
(using Runtime.exec()).
But I fail to create new files in these new directories both with
Filewriter metaout = null;
metaout = new Filewriter(<newFilename>,true);
and with
File metaoutfile = null;
metoutfile = File(<newFilename>);
metaoutfile.createNewFile();
metaout = new Filewriter(metaoutfile);
Using JDK 1.2 and JSDK 2.0 on Windows NT 4.0 SP4 (German) I receive in either
case a *german* error message (obviously coming from NT) that says "The system
could not find the specified path".
Checking 'newFilename' tells me that its value is correct and the directories
are correctly created prior to creating the new files.
Also, creating files on directories existing prior to running the servlet works
fine with both methods.
Any hint on solving this problem is greatly appreciated.
begin:vcard
n:Litschko;Thomas
x-mozilla-html:TRUE
org:Top-In-Form GmbH
adr:;;Brandteichstr. 19;17489 Greifswald;;;Germany
version:2.1
email;internet:[EMAIL PROTECTED]
tel;fax:+49 (3834) 550482
tel;work:+49 (3834) 550195
x-mozilla-cpt:;0
fn:Thomas Litschko
end:vcard