Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

link the folder outside servletContext realPath?  RSS feed

 
Mark Thien
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!