This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes link the folder outside servletContext realPath? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "link the folder outside servletContext realPath?" Watch "link the folder outside servletContext realPath?" New topic
Author

link the folder outside servletContext realPath?

Mark Thien
Greenhorn

Joined: Jan 16, 2006
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: link the folder outside servletContext realPath?
 
Similar Threads
Requested Resource not available
Perl/Cgi in Tomcat 5.5
Head First Sample Code
how can i download automatically some objects from server to client.
Getting Tomcat to recognize directory