hi
you can set a session property like
System.setProperty("user.dir", "/your/application/home");
this will change the applications current working dir.
i have not checked the side effects. whether tomcat will be affected
by this action or not
arun
On Fri, 10 Sep 2004 12:00:45 +0200, MATHOT Jacques
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am implementing an upload function for my web applications using Tomcat 4.0.14
> server. I was expecting the files to be stored on the root directory of my
> application and not in one of the own Tomcat directories.
> How can I specify that the directory to be used is my application root directory ?
> Thanks in advance.
> Regards,
> Jacques Mathot
>
> FileInputStream fis = new FIleInputStream("Doc8585.zip");
> ...
>
> ____
>
> This message and any files transmitted with it are legally privileged and intended
> for the sole use of the individual(s) or entity to whom they are addressed. If you
> are not the intended recipient, please notify the sender by reply and delete the
> message and any attachments from your system. Any unauthorised use or disclosure of
> the content of this message is strictly prohibited and may be unlawful.
>
> Nothing in this e-mail message amounts to a contractual or legal commitment on the
> part of EUROCONTROL unless it is confirmed by appropriately signed hard copy.
>
> Any views expressed in this message are those of the sender.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]