Take a look at getRealPath() as I suggested earlier... you should be able
to get at the home directory of that other software using it (assuming all
the security that might be in place doesn't get in the way).  You will
probably want to make the path a config parameter so you don't have to go
changing code when that home directory inevitably moves later on :)

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]

On Wed, January 18, 2006 1:25 pm, Neha Narkhede said:
> Hi..
>   Thank you for the reply..
> but could not open that url.
> My problem is that my servlet uses the function of another software.
> When I run that software code from the terminal, I have to go till
> that software's home directory so that it has access to the required
> files.
> But when I include that code in the servlet, it cannot access the
> required files. I want to know where exactly should I place them so
> that the servlet can access it?
>
> Please help..
>
> Thank you
>
> ---------------------------------------------------------------------
> 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]

Reply via email to