File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Softlink woes

 
Swati Singhal
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have my application installed on Tomcat server.
I created a softlink from within my application context to a data folder which is outside the appliation context.

Say for e.g. my app name is abc and i create a folder named test within it
so /abc/test/ points to a data folder outside the application context.

Now when I run this web application, I want to fetch one of the files under the data folder (Which is outside the application context), I actually point to /abc/test/ and then the path to that file.

Say it's a text/image file, I am able to get the contents of this data folder by creating the softlink, but when I try to open this text/image file using my softlink, it says File not found, whereas the file is very much there...

Please help !!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic