To make myself clear,
I have only permissions to write to files under my J2EE App only, and the
deployment may make directory my_application_name_1, or
my_application_name_2, and so on, so I need to set the tempDir to a dynamic
folder under my aplication.

-----Original Message-----
From: Ayoub, Ashraf A [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 29, 2004 2:02 PM
To: [EMAIL PROTECTED]
Subject: Can set temp directory for file upload on runtime

Dears,

I'm using struts 1.1, and I want to set the tempDir to a value no non
untill runtime, I can set it when servlet initialize, as the location of
deploying my application is dynamic, so I will get it and pass an
appropriate value to the tempDir

 

I have read that the default value is determined by the container
hosting the application, can anyone give me clearer understanding.

 

 

Thanks, best regards

 

Ashraf Fouad

 



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

Reply via email to