• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Softlink woes

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !!
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html

Search for the "allowLinking" attribute
 
reply
    Bookmark Topic Watch Topic
  • New Topic