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
chang
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 c
Hi Neha,
You can basically put it wherever you want because your servlet can get
direct file system access (I'm not sure this is true if deployed in an
EAR, but I guess that's not an option here anyway).
Where it *makes sense* to put it is up to you... if it's something
specific to the webapp the
Hi..
I am running a servlet which requires some data files.
But I dont know where to paste those data files so that the servlet can find it.
I have a servlet "Indexer" and so a folder 'Indexer" in webapps.
Please help..
Thank you.
--