• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

link the folder outside servletContext realPath?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

For instance, I got a directory w:/images which is map to the other server directory. So when user upload images, all the images will store to this folder instead of folder under http://localhost:8080/images. The problem is that this can on;y be done when accessing Tomcat locally. Is there possibility that I can link http://localhost:8080/images to w:/images ? Tomcat would not able to detect a folder (http://localhost:8080/images) that is link/shortcut to other folder (w:/images). I am trying this under windows xp ! Anyont done this in Unix/Linux pls kindly let me know too. Appreciate any help ! Thanks in advance !

regards,
Mark
 
We're all out of roofs. But we still have tiny ads:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!